2013-01-19 18:47:08 +01:00
|
|
|
= render "teams/team_head"
|
2013-01-22 23:20:27 +01:00
|
|
|
|
2013-01-19 18:47:08 +01:00
|
|
|
%h3.page_title
|
|
|
|
Team Members
|
|
|
|
(#{@members.count})
|
|
|
|
%small
|
|
|
|
Read more about project permissions
|
|
|
|
%strong= link_to "here", help_permissions_path, class: "vlink"
|
|
|
|
|
2013-01-22 23:20:27 +01:00
|
|
|
- if can? current_user, :manage_user_team, @team
|
2013-01-19 18:47:08 +01:00
|
|
|
%span.right
|
2013-01-22 23:20:27 +01:00
|
|
|
= link_to new_team_member_path(@team), class: "btn success small grouped", title: "New Team Member" do
|
2013-01-19 18:47:08 +01:00
|
|
|
New Team Member
|
|
|
|
%hr
|
|
|
|
|
|
|
|
|
|
|
|
.clearfix
|
|
|
|
%div.team-table
|
2013-01-22 23:20:27 +01:00
|
|
|
= render partial: "teams/members/team", locals: {project: @team}
|