mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-20 00:04:59 +01:00
Add link to ticket on 404 page
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
@(
|
||||
projectsWithSelection: ProjectsWithSelection,
|
||||
name: String,
|
||||
failedProjects: FailedProjects
|
||||
failedProjects: FailedProjects,
|
||||
issueOption: Option[(ExportedVulnerability[String], String)]
|
||||
)(implicit header: DefaultRequest)
|
||||
|
||||
@main(
|
||||
@@ -19,6 +20,9 @@
|
||||
<a class="btn btn-success" href="@routes.Statistics.vulnerability(name, None)">Look at all the projects!</a>
|
||||
</li>
|
||||
}
|
||||
@for((ticket, issueLink) <- issueOption){
|
||||
<li>See the <a href="@issueLink">related ticket @ticket.ticket</a>.</li>
|
||||
}
|
||||
<li>
|
||||
Maybe the vulnerability does not affect any of the projects.<br>
|
||||
<a href="https://web.nvd.nist.gov/view/vuln/detail?vulnId=@helper.urlEncode(name)" class="btn btn-default">Look at NVD</a>
|
||||
|
||||
Reference in New Issue
Block a user