2016-06-16 23:09:34 +05:30
|
|
|
- @no_container = true
|
2018-11-18 11:00:15 +05:30
|
|
|
- page_title _("Groups")
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
%div{ class: container_class }
|
2016-06-16 23:09:34 +05:30
|
|
|
.top-area
|
2016-08-24 12:49:21 +05:30
|
|
|
.prepend-top-default.append-bottom-default
|
|
|
|
= form_tag admin_groups_path, method: :get, class: 'js-search-form' do |f|
|
2016-06-16 23:09:34 +05:30
|
|
|
= hidden_field_tag :sort, @sort
|
2016-08-24 12:49:21 +05:30
|
|
|
.search-holder
|
|
|
|
- project_name = params[:name].present? ? params[:name] : nil
|
|
|
|
.search-field-holder
|
|
|
|
= search_field_tag :name, project_name, class: "form-control search-text-input js-search-input", autofocus: true, spellcheck: false, placeholder: 'Search by name'
|
|
|
|
= icon("search", class: "search-icon")
|
2018-03-17 18:26:18 +05:30
|
|
|
= render "shared/groups/dropdown", options_hash: admin_groups_sort_options_hash
|
2016-08-24 12:49:21 +05:30
|
|
|
= link_to new_admin_group_path, class: "btn btn-new" do
|
2018-11-18 11:00:15 +05:30
|
|
|
= _('New group')
|
2016-06-16 23:09:34 +05:30
|
|
|
%ul.content-list
|
2016-08-24 12:49:21 +05:30
|
|
|
= render @groups
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
= paginate @groups, theme: "gitlab"
|