Commit a0b6c964 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Proper naming for project members page

parent e680cc77340e
......@@ -6,7 +6,7 @@
= nav_link(controller: [:team_members, :teams]) do
= link_to project_team_index_path(@project), class: "team-tab tab" do
Project Members
= nav_link(controller: :deploy_keys) do
= link_to project_deploy_keys_path(@project) do
= link_to people_group_path(@group) do
Members of #{} group
%strong #{} Group
members (#{@group.users_groups.count})
= link_to people_group_path(@group), class: 'btn btn-small' do
- @group.users_groups.order('group_access DESC').each do |member|
= render 'users_groups/users_group', member: member, show_controls: false
......@@ -2,7 +2,8 @@
- can_admin_project = (can? current_user, :admin_project, @project)
Project members (#{members.count})
%strong #{} Project
members (#{members.count})
- members.each do |team_member|
= render 'team_members/team_member', member: team_member, current_user_can_admin_project: can_admin_project
......@@ -15,8 +15,6 @@
Read more about project permissions
%strong= link_to "here", help_permissions_path, class: "vlink"
- if @group
......@@ -45,7 +45,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
# Sub Tabs: Home
Given 'I click the "Team" tab' do
click_link('Project Members')
Given 'I click the "Attachments" tab' do
......@@ -73,7 +73,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
Then 'the active sub tab should be Team' do
ensure_active_sub_tab('Project Members')
Then 'the active sub tab should be Attachments' do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment