Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
a0b6c964
Commit
a0b6c964
authored
Jun 18, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper naming for project members page
parent
32ef2f37
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
app/views/projects/_settings_nav.html.haml
app/views/projects/_settings_nav.html.haml
+1
-1
app/views/team_members/_group_members.html.haml
app/views/team_members/_group_members.html.haml
+5
-2
app/views/team_members/_team.html.haml
app/views/team_members/_team.html.haml
+2
-1
app/views/team_members/index.html.haml
app/views/team_members/index.html.haml
+0
-2
features/steps/project/project_active_tab.rb
features/steps/project/project_active_tab.rb
+2
-2
No files found.
app/views/projects/_settings_nav.html.haml
View file @
a0b6c964
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
nav_link
(
controller:
[
:team_members
,
:teams
])
do
=
nav_link
(
controller:
[
:team_members
,
:teams
])
do
=
link_to
project_team_index_path
(
@project
),
class:
"team-tab tab"
do
=
link_to
project_team_index_path
(
@project
),
class:
"team-tab tab"
do
%i
.icon-group
%i
.icon-group
Project
Members
Members
=
nav_link
(
controller: :deploy_keys
)
do
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
project_deploy_keys_path
(
@project
)
do
=
link_to
project_deploy_keys_path
(
@project
)
do
%span
%span
...
...
app/views/team_members/_group_members.html.haml
View file @
a0b6c964
.ui-box
.ui-box
%h5
.title
%h5
.title
=
link_to
people_group_path
(
@group
)
do
%strong
#{
@group
.
name
}
Group
Members of
#{
@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
%ul
.well-list
-
@group
.
users_groups
.
order
(
'group_access DESC'
).
each
do
|
member
|
-
@group
.
users_groups
.
order
(
'group_access DESC'
).
each
do
|
member
|
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
app/views/team_members/_team.html.haml
View file @
a0b6c964
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
-
can_admin_project
=
(
can?
current_user
,
:admin_project
,
@project
)
-
can_admin_project
=
(
can?
current_user
,
:admin_project
,
@project
)
.ui-box
.ui-box
%h5
.title
%h5
.title
Project members (
#{
members
.
count
}
)
%strong
#{
@project
.
name
}
Project
members (
#{
members
.
count
}
)
%ul
.well-list
%ul
.well-list
-
members
.
each
do
|
team_member
|
-
members
.
each
do
|
team_member
|
=
render
'team_members/team_member'
,
member:
team_member
,
current_user_can_admin_project:
can_admin_project
=
render
'team_members/team_member'
,
member:
team_member
,
current_user_can_admin_project:
can_admin_project
app/views/team_members/index.html.haml
View file @
a0b6c964
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
Read more about project permissions
Read more about project permissions
%strong
=
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
%strong
=
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
.clearfix
.clearfix
-
if
@group
-
if
@group
...
...
features/steps/project/project_active_tab.rb
View file @
a0b6c964
...
@@ -45,7 +45,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
...
@@ -45,7 +45,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
# Sub Tabs: Home
# Sub Tabs: Home
Given
'I click the "Team" tab'
do
Given
'I click the "Team" tab'
do
click_link
(
'
Project
Members'
)
click_link
(
'Members'
)
end
end
Given
'I click the "Attachments" tab'
do
Given
'I click the "Attachments" tab'
do
...
@@ -73,7 +73,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
...
@@ -73,7 +73,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
end
end
Then
'the active sub tab should be Team'
do
Then
'the active sub tab should be Team'
do
ensure_active_sub_tab
(
'
Project
Members'
)
ensure_active_sub_tab
(
'Members'
)
end
end
Then
'the active sub tab should be Attachments'
do
Then
'the active sub tab should be Attachments'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment