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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
eeaf4d8b
Commit
eeaf4d8b
authored
May 12, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix group navigation after merge from CE
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
ba8b8ca5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_group.html.haml
+5
-6
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+4
-4
features/steps/groups_management.rb
features/steps/groups_management.rb
+3
-1
No files found.
app/views/layouts/nav/_group.html.haml
View file @
eeaf4d8b
...
...
@@ -35,9 +35,8 @@
=
icon
(
'users fw'
)
%span
Members
-
if
can?
(
current_user
,
:admin_group
,
@group
)
=
nav_link
(
html_options:
{
class:
"separate-item"
})
do
=
link_to
edit_group_path
(
@group
),
title:
'Settings'
do
=
icon
(
'cogs fw'
)
%span
Settings
=
nav_link
(
controller:
[
:stats
])
do
=
link_to
group_analytics_path
(
@group
),
title:
'Contribution Analytics'
,
data:
{
placement:
'right'
}
do
=
icon
(
'bar-chart fw'
)
%span
Contribution Analytics
app/views/layouts/nav/_group_settings.html.haml
View file @
eeaf4d8b
...
...
@@ -10,10 +10,6 @@
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
do
Projects
%li
.divider
%li
=
link_to
edit_group_path
(
@group
)
do
Edit Group
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
do
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
...
...
@@ -30,6 +26,10 @@
%i
.fa.fa-file-text-o
%span
Audit Events
%li
.divider
%li
=
link_to
edit_group_path
(
@group
)
do
Edit Group
%li
=
link_to
leave_group_group_members_path
(
@group
),
data:
{
confirm:
leave_group_message
(
@group
.
name
)
},
method: :delete
,
title:
'Leave group'
do
...
...
features/steps/groups_management.rb
View file @
eeaf4d8b
...
...
@@ -53,7 +53,9 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step
'I go to project settings'
do
@project
=
Project
.
find_by
(
name:
"Open"
)
click_link
'Projects'
page
.
within
'.layout-nav'
do
click_link
'Projects'
end
link
=
"/
#{
@project
.
path_with_namespace
}
/project_members"
find
(
:xpath
,
"//a[@href=
\"
#{
link
}
\"
]"
).
click
...
...
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