debian-mirror-gitlab/app/views/projects/project_members/_team.html.haml

18 lines
967 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- project = local_assigns.fetch(:project)
- members = local_assigns.fetch(:members)
2018-11-08 19:23:39 +05:30
.card
.card-header.flex-project-members-panel
2017-08-17 22:00:37 +05:30
%span.flex-project-title
2019-07-07 11:18:12 +05:30
= _("Members of <strong>%{project_name}</strong>").html_safe % { project_name: sanitize(project.name, tags: []) }
2018-11-08 19:23:39 +05:30
%span.badge.badge-pill= members.total_count
2019-10-12 21:52:04 +05:30
= form_tag project_project_members_path(project), method: :get, class: 'form-inline user-search-form flex-users-form' do
2017-08-17 22:00:37 +05:30
.form-group
2018-11-08 19:23:39 +05:30
.position-relative
2019-03-02 22:35:43 +05:30
= search_field_tag :search, params[:search], { placeholder: _('Find existing members by name'), class: 'form-control', spellcheck: false }
2019-10-12 21:52:04 +05:30
%button.user-search-btn{ type: "submit", "aria-label" => _("Submit search") }
2018-11-08 19:23:39 +05:30
= icon("search")
2017-08-17 22:00:37 +05:30
= render 'shared/members/sort_dropdown'
2020-03-13 15:44:24 +05:30
%ul.content-list.members-list{ data: { qa_selector: 'members_list' } }
= render partial: 'shared/members/member', collection: members, as: :member