Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/team_members/index.html.haml')
-rw-r--r--app/views/projects/team_members/index.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/projects/team_members/index.html.haml b/app/views/projects/team_members/index.html.haml
new file mode 100644
index 00000000000..8f81390ca13
--- /dev/null
+++ b/app/views/projects/team_members/index.html.haml
@@ -0,0 +1,16 @@
+%h3.page_title
+ Users with access to this project
+
+ - if can? current_user, :admin_team_member, @project
+ %span.pull-right
+ = link_to import_project_team_members_path(@project), class: "btn btn-small grouped", title: "Import team from another project" do
+ Import team from another project
+ = link_to new_project_team_member_path(@project), class: "btn btn-primary small grouped", title: "New Team Member" do
+ New Team Member
+
+%p.light
+ Read more about project permissions
+ %strong= link_to "here", help_permissions_path, class: "vlink"
+- if @group
+ = render "group_members"
+= render "team", members: @users_projects