{% for cve in cves %} {% if landing and loop.index0 == 0 %} {% elif loop.index0 < cves | length %}
{% endif %}

{{ cve.id }}

{% if cve.priority == 'unknown' %} {% elif cve.priority == 'negligible' %} {% elif cve.priority == 'low' %} {% elif cve.priority == 'medium' %} {% elif cve.priority == 'high' %} {% elif cve.priority == 'critical' %} {% else %} {% endif %} {{ cve.priority.split() | first | capitalize }} priority
{% if cve.summarized_status %} {% set status = cve.summarized_status %}
{% if status.icon %} {{ status.name }} {% else %}

{% if status.name == "Some fixed" %} Some fixes available {{ status.fixed_count }} of {{ status.fixable_count }} {% else %} {{ status.name }} {% endif %}

{% endif %}
{% endif %}

{{ cve.description|truncate(235) }}

{{ cve.packages | length }} affected package{% if cve.packages | length > 1 %}s{% endif %}

{% for package in cve.packages %} {% if cve.packages | length > 6 %} {% if loop.index < 5 %} {{ package.name }}, {% elif loop.index == 5 %} {{ package.name }}... {% endif %} {% else %} {% if loop.last %} {{ package.name }} {% else %} {{ package.name }}, {% endif %} {% endif %} {% endfor %}

{% if landing != true and cve.packages | length > 0 %} {% include 'security/cves/_cve-table.html' %} {% endif %}
{% endfor %}