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
a15af9a1
Commit
a15af9a1
authored
Feb 28, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes after review
parent
ca6d76cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
ee/app/assets/javascripts/vue_shared/security_reports/components/report_issues.vue
.../vue_shared/security_reports/components/report_issues.vue
+3
-3
ee/app/assets/stylesheets/pages/security_reports.scss
ee/app/assets/stylesheets/pages/security_reports.scss
+1
-6
spec/javascripts/vue_shared/security_reports/components/report_issues_spec.js
..._shared/security_reports/components/report_issues_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/components/report_issues.vue
View file @
a15af9a1
...
...
@@ -144,7 +144,7 @@
:size=
"32"
/>
</div>
<div
class=
"report-block-list-issue-description"
>
<div
class=
"report-block-list-issue-description
prepend-top-5 append-bottom-5
"
>
<div
class=
"report-block-list-issue-description-text append-right-5"
>
<template
v-if=
"isStatusSuccess && isTypeQuality"
>
{{
fixedLabel
}}
</
template
>
<
template
v-if=
"shouldRenderPriority(issue)"
>
{{
issue
.
priority
}}
:
</
template
>
...
...
@@ -165,7 +165,7 @@
type=
"button"
@
click=
"openDastModal(issue, index)"
data-toggle=
"modal"
class=
"js-modal-dast btn-link btn-blank
btn-open-modal
break-link"
class=
"js-modal-dast btn-link btn-blank
text-left
break-link"
:data-target=
"modalTargetId"
>
{{
issue
.
name
}}
...
...
@@ -232,7 +232,7 @@
:size=
"32"
/>
</div>
<div
class=
"report-block-list-issue-description"
>
<div
class=
"report-block-list-issue-description
prepend-top-5 append-bottom-5
"
>
<div
class=
"report-block-list-issue-description-text append-right-5"
>
{{ instance.method }}
</div>
...
...
ee/app/assets/stylesheets/pages/security_reports.scss
View file @
a15af9a1
.pipeline-tab-content
{
.space-children
,
.space-children
>
*
{
.space-children
>
span
{
display
:
flex
;
}
...
...
@@ -53,11 +53,6 @@
flex-wrap
:
wrap
;
display
:
flex
;
align-self
:
center
;
margin
:
5px
0px
;
.btn-open-modal
{
text-align
:
left
;
}
}
.report-block
{
...
...
spec/javascripts/vue_shared/security_reports/components/report_issues_spec.js
View file @
a15af9a1
...
...
@@ -161,7 +161,7 @@ describe('Report issues', () => {
});
it
(
'
opens modal with more information and list of instances
'
,
(
done
)
=>
{
vm
.
$el
.
querySelector
(
'
.js-modal-dast
'
).
click
();
vm
.
$el
.
querySelector
(
'
.js-modal-dast
'
).
click
();
Vue
.
nextTick
(()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.modal-title
'
).
textContent
.
trim
()).
toEqual
(
'
Low (Medium): Absence of Anti-CSRF Tokens
'
);
...
...
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