diff --git a/dejacode/static/css/dejacode_bootstrap.css b/dejacode/static/css/dejacode_bootstrap.css index 207adce..518ddfd 100644 --- a/dejacode/static/css/dejacode_bootstrap.css +++ b/dejacode/static/css/dejacode_bootstrap.css @@ -394,10 +394,10 @@ table.vulnerabilities-table .column-summary { width: 155px; } #tab_vulnerabilities .column-weighted_severity { - width: 125px; + width: 120px; } #tab_vulnerabilities .column-risk_score { - width: 95px; + width: 90px; } #tab_vulnerabilities .column-summary { width: 300px; diff --git a/product_portfolio/templates/product_portfolio/tabs/tab_vulnerabilities.html b/product_portfolio/templates/product_portfolio/tabs/tab_vulnerabilities.html index 39c8050..e090dcb 100644 --- a/product_portfolio/templates/product_portfolio/tabs/tab_vulnerabilities.html +++ b/product_portfolio/templates/product_portfolio/tabs/tab_vulnerabilities.html @@ -1,11 +1,11 @@ {% load i18n %} {% include 'tabs/pagination.html' %} -
+ |
{% if vulnerability.resource_url %}
@@ -15,69 +15,68 @@
{% else %}
{{ vulnerability.vulnerability_id }}
{% endif %}
+ {% if vulnerability.summary %}
+
+
+
+ {% endif %}
{% include 'component_catalog/includes/vulnerability_aliases.html' with aliases=vulnerability.aliases only %}
|
-
-
|
- + | {% include 'vulnerabilities/includes/exploitability.html' with instance=vulnerability only %} | -+ | {{ vulnerability.weighted_severity|default_if_none:"" }} | -+ | {% include 'vulnerabilities/includes/risk_score_badge.html' with risk_score=vulnerability.risk_score only %} | -
- {% if vulnerability.summary %}
- {% if vulnerability.summary|length > 120 %}
-
-
- {% else %}
- {{ vulnerability.summary }}
- {% endif %}
- {% endif %}
- {{ vulnerability.summary|slice:":120" }}...- {{ vulnerability.summary|slice:"120:" }} - |
- - {% if vulnerability.vulnerability_analyses.get %} + {% for package in vulnerability.affected_packages.all %} + {% if not forloop.first %} |
|
- - - - - | + +
+ {% if vulnerability.vulnerability_analyses.get %}
+
|
+ + {% if vulnerability.vulnerability_analyses.get %} + {{ vulnerability.vulnerability_analyses.get.get_justification_display }} + {% endif %} + | +
+ {% if vulnerability.vulnerability_analyses.get.responses %}
+ {{ vulnerability.vulnerability_analyses.get.responses|join:" " }} + {% endif %} + |
+ + + + + | + {% if not forloop.first %}|||||