index.html.haml 707 Bytes
Newer Older
1
= render "projects/project_head"
randx's avatar
randx committed
2
%h3.page_title
3
  Team Members
4 5
  (#{@project.users_projects.count})
  %small
6
    Read more about project permissions
7
    %strong= link_to "here", help_permissions_path, class: "vlink"
8

9
  - if can? current_user, :admin_team_member, @project
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10 11 12 13 14
    %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 new_project_team_member_path(@project), class: "btn success small grouped", title: "New Team Member" do
        New Team Member
15 16
%hr

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
17

18 19 20
.clearfix
%div.team-table
  = render partial: "team_members/team", locals: {project: @project}