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
99225fb2
Commit
99225fb2
authored
Jan 27, 2020
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nav link in security submenu
parent
b5ac9eb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/views/layouts/nav/ee/_security_link.html.haml
ee/app/views/layouts/nav/ee/_security_link.html.haml
+2
-2
No files found.
ee/app/views/layouts/nav/ee/_security_link.html.haml
View file @
99225fb2
...
...
@@ -2,7 +2,7 @@
-
security_dashboard_available
=
@group
.
feature_available?
(
:security_dashboard
)
-
if
compliance_dashboard_available
||
security_dashboard_available
-
main_path
=
compliance_dashboard_available
?
group_security_compliance_dashboard_path
(
@group
)
:
group_security_dashboard_path
(
@group
)
=
nav_link
(
path:
%w[groups/security/compliance_dashboard#show groups/security/dashboard#show]
)
do
=
nav_link
(
path:
%w[groups/security/compliance_dashboard
s
#show groups/security/dashboard#show]
)
do
=
link_to
main_path
,
data:
{
qa_selector:
'security_compliance_link'
}
do
.nav-icon-container
=
sprite_icon
(
'shield'
)
...
...
@@ -15,7 +15,7 @@
%span
=
_
(
'Security'
)
-
if
compliance_dashboard_available
=
nav_link
(
path:
'groups/security/compliance_dashboard#show'
)
do
=
nav_link
(
path:
'groups/security/compliance_dashboard
s
#show'
)
do
=
link_to
group_security_compliance_dashboard_path
(
@group
),
title:
_
(
'Compliance'
)
do
%span
=
_
(
'Compliance'
)
-
elsif
show_discover_group_security?
(
@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