diff --git a/events/vulnerability_found.html b/events/vulnerability_found.html index 852d8c5714..dcf484261a 100644 --- a/events/vulnerability_found.html +++ b/events/vulnerability_found.html @@ -1,8 +1,8 @@ {% if event_data.vulnerabilities %} {{ event_data.vulnerabilities|length }} vulnerabilities were detected in tags {% else %} -A {{ event_data.vulnerability.priority }} vulnerability ({{ event_data.vulnerability.id }}) was detected in tags/manifests -{% endif %} -{{ 'tags' | icon_image }} -{% for tag in event_data.tags[0:3] %}{%if loop.index > 1 %}, {% endif %}{{ (event_data.repository, tag) | repository_tag_reference }}{% endfor %} {% if event_data.tags|length > 3 %}(and {{ event_data.tags|length - 3 }} more) {% endif %} in -repository {{ event_data.repository | repository_reference }} +A {{ event_data.vulnerability.priority }} vulnerability ({{ event_data.vulnerability.id }}) was detected in tags/manifests + {% endif %} + {{ 'tags' | icon_image }} + {% for tag in event_data.tags[0:3] %}{%if loop.index > 1 %}, {% endif %}{{ (event_data.repository, tag) | repository_tag_reference }}{% endfor %} {% if event_data.tags|length > 3 %}(and {{ event_data.tags|length - 3 }} more) {% endif %} in + repository {{ event_data.repository | repository_reference }}