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

25 lines
896 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Members"
2015-09-25 12:07:36 +05:30
.project-members-page.prepend-top-default
2015-12-23 02:04:40 +05:30
- if can?(current_user, :admin_project_member, @project)
.panel.panel-default
.panel-heading
Add new user to project
2016-04-02 18:10:28 +05:30
.controls
2015-12-23 02:04:40 +05:30
= 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.
2015-09-25 12:07:36 +05:30
= render "new_project_member"
= render 'shared/members/requests', membership_source: @project, members: @project_members.request
= render 'team', members: @project_members.non_request
2015-04-26 12:48:37 +05:30
2015-12-23 02:04:40 +05:30
- if @group
= render "group_members", members: @group_members
2016-06-02 11:05:42 +05:30
- if @project_group_links.any? && @project.allowed_to_share_with_group?
= render "shared_group_members"