= nav_link(controller: [:team_members, :teams]) do
= link_to project_team_index_path(@project), class: "team-tab tab" do
%i.icon-group
- Project Members
+ Members
= nav_link(controller: :deploy_keys) do
= link_to project_deploy_keys_path(@project) do
%span
.ui-box
%h5.title
- = link_to people_group_path(@group) do
- Members of #{@group.name} group
+ %strong #{@group.name} Group
+ members (#{@group.users_groups.count})
+ .pull-right
+ = link_to people_group_path(@group), class: 'btn btn-small' do
+ %i.icon-edit
%ul.well-list
- @group.users_groups.order('group_access DESC').each do |member|
= render 'users_groups/users_group', member: member, show_controls: false
- can_admin_project = (can? current_user, :admin_project, @project)
.ui-box
%h5.title
- Project members (#{members.count})
+ %strong #{@project.name} Project
+ members (#{members.count})
%ul.well-list
- members.each do |team_member|
= render 'team_members/team_member', member: team_member, current_user_can_admin_project: can_admin_project
Read more about project permissions
%strong= link_to "here", help_permissions_path, class: "vlink"
-
-
.clearfix
- if @group
# Sub Tabs: Home
Given 'I click the "Team" tab' do
- click_link('Project Members')
+ click_link('Members')
end
Given 'I click the "Attachments" tab' do
end
Then 'the active sub tab should be Team' do
- ensure_active_sub_tab('Project Members')
+ ensure_active_sub_tab('Members')
end
Then 'the active sub tab should be Attachments' do