debian-mirror-gitlab/app/views/admin/groups/index.html.haml

19 lines
841 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("Groups")
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
.top-area
.prepend-top-default.append-bottom-default
= form_tag admin_groups_path, method: :get, class: 'js-search-form' do |f|
= hidden_field_tag :sort, @sort
.search-holder
- project_name = params[:name].present? ? params[:name] : nil
.search-field-holder
2020-04-22 19:07:51 +05:30
= search_field_tag :name, project_name, class: "form-control search-text-input js-search-input", autofocus: true, spellcheck: false, placeholder: 'Search by name', data: { qa_selector: 'group_search_field' }
2019-12-04 20:38:33 +05:30
= icon("search", class: "search-icon")
= render "shared/groups/dropdown", options_hash: admin_groups_sort_options_hash
= link_to new_admin_group_path, class: "btn btn-success" do
= _('New group')
%ul.content-list
= render @groups
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
= paginate @groups, theme: "gitlab"