debian-mirror-gitlab/app/views/projects/project_members/index.html.haml
2016-09-13 17:45:13 +05:30

24 lines
898 B
Text

- page_title "Members"
.project-members-page.js-project-members-page.prepend-top-default
- if can?(current_user, :admin_project_member, @project)
.panel.panel-default
.panel-heading
Add new user to project
.controls
= link_to import_namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-grouped", title: "Import members from another project" do
Import members
.panel-body
%p.light
Users with access to this project are listed below.
= render "new_project_member"
= render 'shared/members/requests', membership_source: @project, requesters: @requesters
= render 'team', members: @project_members
- if @group
= render "group_members", members: @group_members
- if @project_group_links.any? && @project.allowed_to_share_with_group?
= render "shared_group_members"