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
a590e0d7
Commit
a590e0d7
authored
Jul 10, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate On-demand Scans nav item
parent
43a968e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
ee/app/helpers/ee/projects_helper.rb
ee/app/helpers/ee/projects_helper.rb
+2
-0
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
...iews/layouts/nav/sidebar/_project_security_link.html.haml
+1
-1
ee/spec/helpers/projects_helper_spec.rb
ee/spec/helpers/projects_helper_spec.rb
+2
-0
No files found.
ee/app/helpers/ee/projects_helper.rb
View file @
a590e0d7
...
@@ -149,6 +149,8 @@ module EE
...
@@ -149,6 +149,8 @@ module EE
projects/security/vulnerabilities#show
projects/security/vulnerabilities#show
projects/security/dashboard#index
projects/security/dashboard#index
projects/on_demand_scans#index
projects/on_demand_scans#index
projects/dast_profiles#index
projects/dast_site_profiles#new
projects/dependencies#index
projects/dependencies#index
projects/licenses#index
projects/licenses#index
projects/threat_monitoring#show
projects/threat_monitoring#show
...
...
ee/app/views/layouts/nav/sidebar/_project_security_link.html.haml
View file @
a590e0d7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
%span
=
_
(
'Security Dashboard'
)
%span
=
_
(
'Security Dashboard'
)
-
if
project_nav_tab?
(
:on_demand_scans
)
-
if
project_nav_tab?
(
:on_demand_scans
)
=
nav_link
(
path:
[
'projects/on_demand_scans#index'
])
do
=
nav_link
(
path:
[
'projects/on_demand_scans#index'
,
'projects/dast_profiles#index'
,
'projects/dast_site_profiles#new'
])
do
=
link_to
project_on_demand_scans_path
(
@project
),
title:
s_
(
'OnDemandScans|On-demand Scans'
),
data:
{
qa_selector:
'on_demand_scans_link'
}
do
=
link_to
project_on_demand_scans_path
(
@project
),
title:
s_
(
'OnDemandScans|On-demand Scans'
),
data:
{
qa_selector:
'on_demand_scans_link'
}
do
%span
=
s_
(
'OnDemandScans|On-demand Scans'
)
%span
=
s_
(
'OnDemandScans|On-demand Scans'
)
...
...
ee/spec/helpers/projects_helper_spec.rb
View file @
a590e0d7
...
@@ -146,6 +146,8 @@ RSpec.describe ProjectsHelper do
...
@@ -146,6 +146,8 @@ RSpec.describe ProjectsHelper do
projects/security/vulnerabilities#show
projects/security/vulnerabilities#show
projects/security/dashboard#index
projects/security/dashboard#index
projects/on_demand_scans#index
projects/on_demand_scans#index
projects/dast_profiles#index
projects/dast_site_profiles#new
projects/dependencies#index
projects/dependencies#index
projects/licenses#index
projects/licenses#index
projects/threat_monitoring#show
projects/threat_monitoring#show
...
...
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