You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: component_catalog/templates/component_catalog/tabs/tab_vulnerabilities.html
+22-8Lines changed: 22 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,28 @@
1
1
{% load i18n %}
2
-
<dlclass="row mb-3">
3
-
<dtclass="col-sm-1 text-end pe-0">
4
-
<spanclass="help_text" data-bs-placement="right" data-bs-toggle="tooltip" data-bs-title="Risk score between 0.0 and 10.0, where higher values indicate greater vulnerability risk for the package.">
<spanclass="help_text" data-bs-toggle="tooltip" data-bs-title="Risk score between 0.0 and 10.0, where higher values indicate greater vulnerability risk for the package.">
5
5
Risk score
6
6
</span>
7
-
</dt>
8
-
<ddclass="col-sm-11 fs-110pct">
9
7
{% include 'vulnerabilities/includes/risk_score_badge.html' with risk_score=package.risk_score only %}
10
-
</dd>
11
-
</dl>
8
+
</div>
9
+
{% if package.next_non_vulnerable_version %}
10
+
<divclass="d-flex align-items-center gap-2">
11
+
<spanclass="help_text" data-bs-toggle="tooltip" data-bs-title="The next version, following this one, that is not vulnerable.">
<spanclass="help_text" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="The identifiers of Package Versions that have been reported to fix a specific vulnerability and collected in VulnerableCodeDB.">
0 commit comments