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
9bad3617
Commit
9bad3617
authored
Apr 20, 2020
by
Sam Beckham
Committed by
Mike Greiling
Apr 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rearranges the project security navigation
moves threat monitoring above configuration
parent
03f1d4a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
...iews/layouts/nav/sidebar/_project_security_link.html.haml
+5
-4
No files found.
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
View file @
9bad3617
...
@@ -36,15 +36,16 @@
...
@@ -36,15 +36,16 @@
=
link_to
project_licenses_path
(
@project
),
title:
_
(
'License Compliance'
),
data:
{
qa_selector:
'licenses_list_link'
}
do
=
link_to
project_licenses_path
(
@project
),
title:
_
(
'License Compliance'
),
data:
{
qa_selector:
'licenses_list_link'
}
do
%span
=
_
(
'License Compliance'
)
%span
=
_
(
'License Compliance'
)
-
if
project_nav_tab?
(
:threat_monitoring
)
=
nav_link
(
path:
'projects/threat_monitoring#show'
)
do
=
link_to
project_threat_monitoring_path
(
@project
),
title:
_
(
'Threat Monitoring'
)
do
%span
=
_
(
'Threat Monitoring'
)
-
if
project_nav_tab?
(
:security_configuration
)
-
if
project_nav_tab?
(
:security_configuration
)
=
nav_link
(
path:
'projects/security/configuration#show'
)
do
=
nav_link
(
path:
'projects/security/configuration#show'
)
do
=
link_to
project_security_configuration_path
(
@project
),
title:
_
(
'Configuration'
),
data:
{
qa_selector:
'security_configuration_link'
}
do
=
link_to
project_security_configuration_path
(
@project
),
title:
_
(
'Configuration'
),
data:
{
qa_selector:
'security_configuration_link'
}
do
%span
=
_
(
'Configuration'
)
%span
=
_
(
'Configuration'
)
-
if
project_nav_tab?
(
:threat_monitoring
)
=
nav_link
(
path:
'projects/threat_monitoring#show'
)
do
=
link_to
project_threat_monitoring_path
(
@project
),
title:
_
(
'Threat Monitoring'
)
do
%span
=
_
(
'Threat Monitoring'
)
-
elsif
show_discover_project_security?
(
@project
)
-
elsif
show_discover_project_security?
(
@project
)
=
nav_link
(
path:
project_security_discover_path
(
@project
))
do
=
nav_link
(
path:
project_security_discover_path
(
@project
))
do
=
link_to
project_security_discover_path
(
@project
)
do
=
link_to
project_security_discover_path
(
@project
)
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