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
ebf78253
Commit
ebf78253
authored
Sep 22, 2021
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add operational vulnerability tab
- add new tab to show operational vulnerabilities
parent
19e391ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_report_layout.vue
...shboard/components/shared/vulnerability_report_layout.vue
+9
-5
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
ee/app/assets/javascripts/security_dashboard/components/shared/vulnerability_report_layout.vue
View file @
ebf78253
...
...
@@ -7,6 +7,7 @@ import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
export
default
{
i18n
:
{
developmentTab
:
s__
(
'
SecurityReports|Development vulnerabilities
'
),
operationalTab
:
s__
(
'
SecurityReports|Operational vulnerabilities
'
),
},
components
:
{
GlTabs
,
...
...
@@ -45,14 +46,11 @@ export default {
<gl-tabs
v-if=
"shouldShowTabs"
sync-active-tab-with-query-params
:content-class=
"
{ 'gl-pt-0': isProject, 'gl-pt-7': !isProject }"
nav-class="gl-mt-3"
>
<gl-tab>
<template
#title
>
<span>
{{
$options
.
i18n
.
developmentTab
}}
</span>
</
template
>
<gl-tab
:title=
"$options.i18n.developmentTab"
>
<section
v-if=
"hasSummarySlot"
data-testid=
"summary-section"
>
<slot
name=
"summary"
></slot>
</section>
...
...
@@ -71,6 +69,12 @@ export default {
</article>
</div>
</gl-tab>
<gl-tab
:title=
"$options.i18n.operationalTab"
:query-param-value=
"$options.i18n.operationalTab.toLowerCase()"
>
<div></div>
</gl-tab>
</gl-tabs>
<template
v-else
>
...
...
locale/gitlab.pot
View file @
ebf78253
...
...
@@ -30349,6 +30349,9 @@ msgstr ""
msgid "SecurityReports|Oops, something doesn't seem right."
msgstr ""
msgid "SecurityReports|Operational vulnerabilities"
msgstr ""
msgid "SecurityReports|Project"
msgstr ""
...
...
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