gitlab-org--gitlab-foss/app/views/projects/project_members/index.html.haml
Dmitriy Zaporozhets 34cc8f4a60 Improve project members page UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-25 10:24:29 +01:00

21 lines
701 B
Text

- page_title "Members"
= render "header_title"
- @blank_container = true
.project-members-page
- if can?(current_user, :admin_project_member, @project)
.panel.panel-default
.panel-heading
Add new user to project
.pull-right
= 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 "team", members: @project_members
- if @group
= render "group_members", members: @group_members