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

19 lines
860 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
Members of
2018-03-17 18:26:18 +05:30
%strong= project.name
2018-11-08 19:23:39 +05:30
%span.badge.badge-pill= members.total_count
2018-03-17 18:26:18 +05:30
= form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do
2017-08-17 22:00:37 +05:30
.form-group
2018-11-08 19:23:39 +05:30
.position-relative
= search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false }
%button.member-search-btn{ type: "submit", "aria-label" => "Submit search" }
= icon("search")
2017-08-17 22:00:37 +05:30
= render 'shared/members/sort_dropdown'
2017-09-10 17:25:29 +05:30
%ul.content-list.members-list
= render partial: 'shared/members/member', collection: members, as: :member