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
3a618ca1
Commit
3a618ca1
authored
Oct 26, 2021
by
Daniel Tian
Committed by
Savas Vedova
Oct 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra space above empty messages on vulnerability report table
parent
461be6e4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
ee/app/assets/javascripts/security_dashboard/components/shared/empty_states/dashboard_has_no_vulnerabilities.vue
.../shared/empty_states/dashboard_has_no_vulnerabilities.vue
+1
-0
ee/app/assets/javascripts/security_dashboard/components/shared/empty_states/filters_produced_no_results.vue
...nents/shared/empty_states/filters_produced_no_results.vue
+1
-0
ee/spec/frontend/security_dashboard/components/shared/empty_states/__snapshots__/dashboard_has_no_vulnerabilities_spec.js.snap
...snapshots__/dashboard_has_no_vulnerabilities_spec.js.snap
+1
-1
No files found.
ee/app/assets/javascripts/security_dashboard/components/shared/empty_states/dashboard_has_no_vulnerabilities.vue
View file @
3a618ca1
...
@@ -19,6 +19,7 @@ export default {
...
@@ -19,6 +19,7 @@ export default {
<
template
>
<
template
>
<gl-empty-state
<gl-empty-state
class=
"gl-mt-0"
:title=
"$options.i18n.title"
:title=
"$options.i18n.title"
:svg-path=
"emptyStateSvgPath"
:svg-path=
"emptyStateSvgPath"
:primary-button-link=
"dashboardDocumentation"
:primary-button-link=
"dashboardDocumentation"
...
...
ee/app/assets/javascripts/security_dashboard/components/shared/empty_states/filters_produced_no_results.vue
View file @
3a618ca1
...
@@ -11,6 +11,7 @@ export default {
...
@@ -11,6 +11,7 @@ export default {
<
template
>
<
template
>
<gl-empty-state
<gl-empty-state
class=
"gl-mt-0"
:title=
"s__('SecurityReports|Sorry, your filter produced no results')"
:title=
"s__('SecurityReports|Sorry, your filter produced no results')"
:svg-path=
"noVulnerabilitiesSvgPath"
:svg-path=
"noVulnerabilitiesSvgPath"
:description=
"s__(`SecurityReports|To widen your search, change or remove filters above`)"
:description=
"s__(`SecurityReports|To widen your search, change or remove filters above`)"
...
...
ee/spec/frontend/security_dashboard/components/shared/empty_states/__snapshots__/dashboard_has_no_vulnerabilities_spec.js.snap
View file @
3a618ca1
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`dashboard has no vulnerabilities empty state matches snapshot 1`] = `
exports[`dashboard has no vulnerabilities empty state matches snapshot 1`] = `
"<section class=\\"row empty-state text-center\\">
"<section class=\\"row
gl-mt-0
empty-state text-center\\">
<div class=\\"col-12\\">
<div class=\\"col-12\\">
<div class=\\"svg-250 svg-content\\"><img src=\\"/placeholder.svg\\" alt=\\"\\" role=\\"img\\" class=\\"gl-max-w-full\\"></div>
<div class=\\"svg-250 svg-content\\"><img src=\\"/placeholder.svg\\" alt=\\"\\" role=\\"img\\" class=\\"gl-max-w-full\\"></div>
</div>
</div>
...
...
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