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-30 15:40:43 +01:00
|
|
|
%span.pull-right
|
2013-01-29 21:18:19 +01:00
|
|
|
= link_to new_team_member_path(@team), class: "btn btn-primary 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}
|