gitlab-org--gitlab-foss/app/views/team_members/index.html.haml

34 lines
1 KiB
Text
Raw Normal View History

= render "projects/project_head"
%h3.page_title
2012-05-24 02:23:25 -04:00
Team Members
(#{@project.users.count})
%small
Read more about project permissions
%strong= link_to "here", help_permissions_path, class: "vlink"
2012-02-15 16:51:04 -05:00
- if can? current_user, :admin_team_member, @project
2012-10-24 07:20:53 -04:00
%span.right
= link_to import_project_team_members_path(@project), class: "btn small grouped", title: "Import team from another project" do
Import team from another project
= link_to available_project_teams_path(@project), class: "btn small grouped", title: "Assign project to team of users" do
Assign project to Team of users
2012-10-24 07:20:53 -04:00
= link_to new_project_team_member_path(@project), class: "btn success small grouped", title: "New Team Member" do
New Team Member
%hr
2012-10-24 07:20:53 -04:00
.clearfix
%div.team-table
= render partial: "team_members/team", locals: {project: @project}
%h3.page_title
Assigned teams
(#{@project.user_teams.count})
%hr
.clearfix
%div.team-table
= render partial: "team_members/teams", locals: {project: @project}