2012-09-16 15:21:20 +02:00
|
|
|
= render "projects/project_head"
|
2012-06-30 23:35:24 +02:00
|
|
|
%h3.page_title
|
2012-05-24 08:23:25 +02:00
|
|
|
Team Members
|
2013-01-22 18:20:39 +01:00
|
|
|
(#{@project.users.count})
|
2012-11-30 17:26:17 +01:00
|
|
|
%small
|
2012-06-04 00:37:27 +02:00
|
|
|
Read more about project permissions
|
2012-08-11 00:07:50 +02:00
|
|
|
%strong= link_to "here", help_permissions_path, class: "vlink"
|
2012-02-15 22:51:04 +01:00
|
|
|
|
2012-11-30 17:26:17 +01:00
|
|
|
- if can? current_user, :admin_team_member, @project
|
2013-01-30 15:40:43 +01:00
|
|
|
%span.pull-right
|
2013-01-29 21:29:21 +01:00
|
|
|
= link_to import_project_team_members_path(@project), class: "btn btn-small grouped", title: "Import team from another project" do
|
2012-10-24 13:20:53 +02:00
|
|
|
Import team from another project
|
2013-01-29 21:29:21 +01:00
|
|
|
= link_to available_project_teams_path(@project), class: "btn btn-small grouped", title: "Assign project to team of users" do
|
2013-01-23 15:14:20 +01:00
|
|
|
Assign project to Team of users
|
2013-01-29 21:18:19 +01:00
|
|
|
= link_to new_project_team_member_path(@project), class: "btn btn-primary small grouped", title: "New Team Member" do
|
2012-10-24 13:20:53 +02:00
|
|
|
New Team Member
|
2012-11-30 17:26:17 +01:00
|
|
|
|
2013-01-23 15:14:20 +01:00
|
|
|
%hr
|
2012-10-24 13:20:53 +02:00
|
|
|
|
2012-11-30 17:26:17 +01:00
|
|
|
.clearfix
|
|
|
|
%div.team-table
|
|
|
|
= render partial: "team_members/team", locals: {project: @project}
|
2013-01-23 15:14:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
%h3.page_title
|
|
|
|
Assigned teams
|
|
|
|
(#{@project.user_teams.count})
|
|
|
|
|
|
|
|
%hr
|
|
|
|
|
|
|
|
.clearfix
|
|
|
|
%div.team-table
|
|
|
|
= render partial: "team_members/teams", locals: {project: @project}
|