Skip to content

Commit

Permalink
Isort formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibazulic authored Jun 12, 2024
1 parent 34904a9 commit 533b73d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions events/vulnerability_found.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% if event_data.vulnerabilities %}
{{ event_data.vulnerabilities|length }} vulnerabilities were detected in tags
{% else %}
A <a href="{{ event_data.vulnerability.link }}">{{ event_data.vulnerability.priority }} vulnerability</a> ({{ 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 <a href="{{ event_data.vulnerability.link }}">{{ event_data.vulnerability.priority }} vulnerability</a> ({{ 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 }}

0 comments on commit 533b73d

Please sign in to comment.