2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Members"
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.project-members-page.prepend-top-default
|
|
|
|
%h4
|
|
|
|
Members
|
|
|
|
%hr
|
2016-08-24 12:49:21 +05:30
|
|
|
- if can?(current_user, :admin_group_member, @group)
|
2016-11-03 12:29:30 +05:30
|
|
|
.project-members-new.append-bottom-default
|
|
|
|
%p.clearfix
|
2017-08-17 22:00:37 +05:30
|
|
|
Add new member to
|
2016-11-03 12:29:30 +05:30
|
|
|
%strong= @group.name
|
|
|
|
= render "new_group_member"
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
= render 'shared/members/requests', membership_source: @group, requesters: @requesters
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.append-bottom-default.clearfix
|
|
|
|
%h5.member.existing-title
|
2017-08-17 22:00:37 +05:30
|
|
|
Existing members
|
2016-11-03 12:29:30 +05:30
|
|
|
= form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form' do
|
|
|
|
.form-group
|
|
|
|
= 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'
|
2015-12-23 02:04:40 +05:30
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading
|
2017-08-17 22:00:37 +05:30
|
|
|
Members with access to
|
|
|
|
%strong= @group.name
|
2016-09-29 09:46:39 +05:30
|
|
|
%span.badge= @members.total_count
|
2015-12-23 02:04:40 +05:30
|
|
|
%ul.content-list
|
2016-08-24 12:49:21 +05:30
|
|
|
= render partial: 'shared/members/member', collection: @members, as: :member
|
|
|
|
= paginate @members, theme: 'gitlab'
|