gitlabhq/app/views/team_members/index.html.haml
Robert Speicher 95bd93fe1a Remove Projects#team action
Uses TeamMembers#index instead, to be more RESTful
2012-09-16 10:07:06 -04:00

14 lines
477 B
Plaintext

= render "projects/project_head"
%h3.page_title
Team Members
%small (#{@project.users_projects.count})
- if can? current_user, :admin_team_member, @project
%p.slead
= link_to new_project_team_member_path(@project), class: "btn small right", title: "New Team Member" do
New Team Member
Read more about project permissions
%strong= link_to "here", help_permissions_path, class: "vlink"
= render partial: "team_members/team", locals: {project: @project}