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
f19caa89
Commit
f19caa89
authored
Nov 01, 2016
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1194-click-on-projects-in-group-as-non-owner-leads-to-404' into 'master'
Closes #1194 See merge request !837
parents
b161fe70
de2d2d3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
23 deletions
+26
-23
CHANGELOG-EE.md
CHANGELOG-EE.md
+1
-0
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+25
-23
No files found.
CHANGELOG-EE.md
View file @
f19caa89
...
@@ -4,6 +4,7 @@ Please view this file on the master branch, on stable branches it's out of date.
...
@@ -4,6 +4,7 @@ Please view this file on the master branch, on stable branches it's out of date.
-
gitlab:check rake task checks ES version according to requirements
-
gitlab:check rake task checks ES version according to requirements
-
Convert ASCII-8BIT LDAP DNs to UTF-8 to avoid unnecessary user deletions
-
Convert ASCII-8BIT LDAP DNs to UTF-8 to avoid unnecessary user deletions
-
[Fix] Only owner can see "Projects" button in group edit menu
## 8.13.2 (2016-10-31)
## 8.13.2 (2016-10-31)
...
...
app/views/layouts/nav/_group_settings.html.haml
View file @
f19caa89
...
@@ -11,27 +11,29 @@
...
@@ -11,27 +11,29 @@
=
icon
(
'cog'
)
=
icon
(
'cog'
)
=
icon
(
'caret-down'
)
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
=
nav_link
(
path:
'groups#projects'
)
do
-
if
can_admin_group
=
link_to
'Projects'
,
projects_group_path
(
@group
),
title:
'Projects'
=
nav_link
(
path:
'groups#projects'
)
do
%li
.divider
=
link_to
'Projects'
,
projects_group_path
(
@group
),
title:
'Projects'
-
if
can_edit
-
if
can_edit
||
can_leave
-
if
ldap_enabled?
%li
.divider
=
nav_link
(
controller: :ldap_group_links
)
do
-
if
can_edit
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
do
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
%span
LDAP Groups
=
nav_link
(
controller: :hooks
)
do
=
link_to
group_hooks_path
(
@group
),
title:
"Webhooks"
do
%span
%span
LDAP Groups
Webhooks
=
nav_link
(
controller: :hooks
)
do
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_hooks_path
(
@group
),
title:
"Webhooks"
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%span
%span
Webhooks
Audit Events
=
nav_link
(
controller: :audit_events
)
do
%li
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
=
link_to
'Edit Group'
,
edit_group_path
(
@group
)
%span
-
if
can_leave
Audit Events
%li
%li
=
link_to
polymorphic_path
([
:leave
,
@group
,
:members
]),
=
link_to
'Edit Group'
,
edit_group_path
(
@group
)
data:
{
confirm:
leave_confirmation_message
(
@group
)
},
method: :delete
,
title:
'Leave group'
do
-
if
can_leave
Leave Group
%li
=
link_to
polymorphic_path
([
:leave
,
@group
,
:members
]),
data:
{
confirm:
leave_confirmation_message
(
@group
)
},
method: :delete
,
title:
'Leave group'
do
Leave Group
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