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
0a52537d
Commit
0a52537d
authored
Feb 13, 2020
by
Dheeraj Joshi
Committed by
Natalia Tepluhina
Feb 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor deprecated named slots in Vue
parent
b9940c46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
103 deletions
+105
-103
ee/app/assets/javascripts/vue_shared/security_reports/grouped_security_reports_app.vue
..._shared/security_reports/grouped_security_reports_app.vue
+105
-103
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/grouped_security_reports_app.vue
View file @
0a52537d
...
...
@@ -279,118 +279,120 @@ export default {
class=
"mr-widget-border-top grouped-security-reports mr-report"
data-qa-selector=
"vulnerability_report_grouped"
>
<div
v-if=
"pipelinePath"
slot=
"actionButtons"
>
<a
:href=
"securityTab"
target=
"_blank"
class=
"btn btn-default btn-sm float-right append-right-default"
>
<span>
{{
s__
(
'
ciReport|View full report
'
)
}}
</span>
<icon
:size=
"16"
name=
"external-link"
/>
</a>
</div>
<template
v-if=
"pipelinePath"
#actionButtons
>
<div>
<a
:href=
"securityTab"
target=
"_blank"
class=
"btn btn-default btn-sm float-right append-right-default"
>
<span>
{{
s__
(
'
ciReport|View full report
'
)
}}
</span>
<icon
:size=
"16"
name=
"external-link"
/>
</a>
</div>
</
template
>
<div
v-if=
"isMRActive && isBaseSecurityReportOutOfDate"
slot=
"subHeading"
class=
"text-secondary-700 text-1"
>
<span>
{{
subHeadingText
}}
</span>
</div>
<
template
v-if=
"isMRActive && isBaseSecurityReportOutOfDate"
#subHeading
>
<div
class=
"text-secondary-700 text-1"
>
<span>
{{
subHeadingText
}}
</span>
</div>
</
template
>
<div
slot=
"body"
class=
"mr-widget-grouped-section report-block"
>
<template
v-if=
"hasSastReports"
>
<summary-row
:summary=
"groupedSastText"
:status-icon=
"sastStatusIcon"
:popover-options=
"sastPopover"
class=
"js-sast-widget"
data-qa-selector=
"sast_scan_report"
/>
<
template
#body
>
<div
class=
"mr-widget-grouped-section report-block"
>
<template
v-if=
"hasSastReports"
>
<summary-row
:summary=
"groupedSastText"
:status-icon=
"sastStatusIcon"
:popover-options=
"sastPopover"
class=
"js-sast-widget"
data-qa-selector=
"sast_scan_report"
/>
<issues-list
v-if=
"sast.newIssues.length || sast.resolvedIssues.length"
:unresolved-issues=
"sast.newIssues"
:resolved-issues=
"sast.resolvedIssues"
:all-issues=
"sast.allIssues"
:component=
"$options.componentNames.SastIssueBody"
class=
"js-sast-issue-list report-block-group-list"
/>
</
template
>
<issues-list
v-if=
"sast.newIssues.length || sast.resolvedIssues.length"
:unresolved-issues=
"sast.newIssues"
:resolved-issues=
"sast.resolvedIssues"
:all-issues=
"sast.allIssues"
:component=
"$options.componentNames.SastIssueBody"
class=
"js-sast-issue-list report-block-group-list"
/>
</
template
>
<
template
v-if=
"hasDependencyScanningReports"
>
<summary-row
:summary=
"groupedDependencyText"
:status-icon=
"dependencyScanningStatusIcon"
:popover-options=
"dependencyScanningPopover"
class=
"js-dependency-scanning-widget"
data-qa-selector=
"dependency_scan_report"
/>
<
template
v-if=
"hasDependencyScanningReports"
>
<summary-row
:summary=
"groupedDependencyText"
:status-icon=
"dependencyScanningStatusIcon"
:popover-options=
"dependencyScanningPopover"
class=
"js-dependency-scanning-widget"
data-qa-selector=
"dependency_scan_report"
/>
<issues-list
v-if=
"dependencyScanning.newIssues.length || dependencyScanning.resolvedIssues.length"
:unresolved-issues=
"dependencyScanning.newIssues"
:resolved-issues=
"dependencyScanning.resolvedIssues"
:component=
"$options.componentNames.SastIssueBody"
class=
"js-dss-issue-list report-block-group-list"
/>
</
template
>
<issues-list
v-if=
"dependencyScanning.newIssues.length || dependencyScanning.resolvedIssues.length"
:unresolved-issues=
"dependencyScanning.newIssues"
:resolved-issues=
"dependencyScanning.resolvedIssues"
:component=
"$options.componentNames.SastIssueBody"
class=
"js-dss-issue-list report-block-group-list"
/>
</
template
>
<
template
v-if=
"hasContainerScanningReports"
>
<summary-row
:summary=
"groupedContainerScanningText"
:status-icon=
"containerScanningStatusIcon"
:popover-options=
"containerScanningPopover"
class=
"js-container-scanning"
data-qa-selector=
"container_scan_report"
/>
<
template
v-if=
"hasContainerScanningReports"
>
<summary-row
:summary=
"groupedContainerScanningText"
:status-icon=
"containerScanningStatusIcon"
:popover-options=
"containerScanningPopover"
class=
"js-container-scanning"
data-qa-selector=
"container_scan_report"
/>
<issues-list
v-if=
"containerScanning.newIssues.length || containerScanning.resolvedIssues.length"
:unresolved-issues=
"containerScanning.newIssues"
:resolved-issues=
"containerScanning.resolvedIssues"
:component=
"$options.componentNames.ContainerScanningIssueBody"
class=
"report-block-group-list"
/>
</
template
>
<issues-list
v-if=
"containerScanning.newIssues.length || containerScanning.resolvedIssues.length"
:unresolved-issues=
"containerScanning.newIssues"
:resolved-issues=
"containerScanning.resolvedIssues"
:component=
"$options.componentNames.ContainerScanningIssueBody"
class=
"report-block-group-list"
/>
</
template
>
<
template
v-if=
"hasDastReports"
>
<summary-row
:summary=
"groupedDastText"
:status-icon=
"dastStatusIcon"
:popover-options=
"dastPopover"
class=
"js-dast-widget"
data-qa-selector=
"dast_scan_report"
/>
<
template
v-if=
"hasDastReports"
>
<summary-row
:summary=
"groupedDastText"
:status-icon=
"dastStatusIcon"
:popover-options=
"dastPopover"
class=
"js-dast-widget"
data-qa-selector=
"dast_scan_report"
/>
<issues-list
v-if=
"dast.newIssues.length || dast.resolvedIssues.length"
:unresolved-issues=
"dast.newIssues"
:resolved-issues=
"dast.resolvedIssues"
:component=
"$options.componentNames.DastIssueBody"
class=
"report-block-group-list"
/>
</
template
>
<issues-list
v-if=
"dast.newIssues.length || dast.resolvedIssues.length"
:unresolved-issues=
"dast.newIssues"
:resolved-issues=
"dast.resolvedIssues"
:component=
"$options.componentNames.DastIssueBody"
class=
"report-block-group-list"
/>
</
template
>
<issue-modal
:modal=
"modal"
:vulnerability-feedback-help-path=
"vulnerabilityFeedbackHelpPath"
:can-create-issue=
"canCreateIssue"
:can-create-merge-request=
"canCreateMergeRequest"
:can-dismiss-vulnerability=
"canDismissVulnerability"
@
closeDismissalCommentBox=
"closeDismissalCommentBox()"
@
createMergeRequest=
"createMergeRequest"
@
createNewIssue=
"createNewIssue"
@
dismissVulnerability=
"dismissVulnerability"
@
openDismissalCommentBox=
"openDismissalCommentBox()"
@
editVulnerabilityDismissalComment=
"openDismissalCommentBox()"
@
revertDismissVulnerability=
"revertDismissVulnerability"
@
downloadPatch=
"downloadPatch"
@
addDismissalComment=
"addDismissalComment({ comment: $event })"
@
deleteDismissalComment=
"deleteDismissalComment"
@
showDismissalDeleteButtons=
"showDismissalDeleteButtons"
@
hideDismissalDeleteButtons=
"hideDismissalDeleteButtons"
/>
</div>
<issue-modal
:modal=
"modal"
:vulnerability-feedback-help-path=
"vulnerabilityFeedbackHelpPath"
:can-create-issue=
"canCreateIssue"
:can-create-merge-request=
"canCreateMergeRequest"
:can-dismiss-vulnerability=
"canDismissVulnerability"
@
closeDismissalCommentBox=
"closeDismissalCommentBox()"
@
createMergeRequest=
"createMergeRequest"
@
createNewIssue=
"createNewIssue"
@
dismissVulnerability=
"dismissVulnerability"
@
openDismissalCommentBox=
"openDismissalCommentBox()"
@
editVulnerabilityDismissalComment=
"openDismissalCommentBox()"
@
revertDismissVulnerability=
"revertDismissVulnerability"
@
downloadPatch=
"downloadPatch"
@
addDismissalComment=
"addDismissalComment({ comment: $event })"
@
deleteDismissalComment=
"deleteDismissalComment"
@
showDismissalDeleteButtons=
"showDismissalDeleteButtons"
@
hideDismissalDeleteButtons=
"hideDismissalDeleteButtons"
/>
</div>
</template>
</report-section>
</template>
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