2016-12-22 17:38:27 -05:00
|
|
|
.row.prepend-top-default
|
|
|
|
.col-lg-3.settings-sidebar
|
|
|
|
%h4.prepend-top-0
|
|
|
|
Members
|
|
|
|
- if can?(current_user, :admin_project_member, @project)
|
|
|
|
%p
|
2016-12-28 13:54:40 -05:00
|
|
|
Add a new member to
|
2016-12-22 17:38:27 -05:00
|
|
|
%strong= @project.name
|
|
|
|
.col-lg-9
|
|
|
|
.light.prepend-top-default
|
|
|
|
- if can?(current_user, :admin_project_member, @project)
|
|
|
|
= render "projects/project_members/new_project_member"
|
|
|
|
|
|
|
|
= render 'shared/members/requests', membership_source: @project, requesters: @requesters
|
|
|
|
.append-bottom-default.clearfix
|
|
|
|
%h5.member.existing-title
|
2016-12-28 13:54:40 -05:00
|
|
|
Existing members and groups
|
2016-12-22 17:38:27 -05:00
|
|
|
- if @group_links.any?
|
2016-12-23 13:23:04 -05:00
|
|
|
= render 'projects/project_members/groups', group_links: @group_links
|
2016-12-22 17:38:27 -05:00
|
|
|
|
|
|
|
= render 'projects/project_members/team', members: @project_members
|
|
|
|
= paginate @project_members, theme: "gitlab"
|