From d5f8925ae9d9f8955c4de4d5a4df480e28252c3c Mon Sep 17 00:00:00 2001
From: kiblik <5609770+kiblik@users.noreply.github.com>
Date: Fri, 21 Jun 2024 23:12:35 +0200
Subject: [PATCH] feat(email notif): Scan_added - put findings to `
- {% blocktranslate %}New findings{% endblocktranslate %}:
+ {% blocktranslate %}New findings{% endblocktranslate %} ({{ findings_new | length }})
{% for finding in findings_new %}
{% url 'view_finding' finding.id as finding_url %}
{{ finding.title }} ({{ finding.severity }})
{% empty %}
{% trans "None" %}
{% endfor %}
+
- {% blocktranslate %}Reactivated findings{% endblocktranslate %}:
+ {% blocktranslate %}Reactivated findings{% endblocktranslate %} ({{ findings_reactivated | length }})
{% for finding in findings_reactivated %}
{% url 'view_finding' finding.id as finding_url %}
{{ finding.title }} ({{ finding.severity }})
{% empty %}
{% trans "None" %}
{% endfor %}
+
- {% blocktranslate %}Closed findings{% endblocktranslate %}:
+ {% blocktranslate %}Closed findings{% endblocktranslate %} ({{ findings_mitigated | length }})
{% for finding in findings_mitigated %}
{% url 'view_finding' finding.id as finding_url %}
{{ finding.title }} ({{ finding.severity }})
{% empty %}
{% trans "None" %}
{% endfor %}
+
- {% blocktranslate %}Untouched findings{% endblocktranslate %}:
+ {% blocktranslate %}Untouched findings{% endblocktranslate %} ({{ findings_untouched | length }})
{% for finding in findings_untouched %}
{% url 'view_finding' finding.id as finding_url %}
{{ finding.title }} ({{ finding.severity }})
{% empty %}
{% trans "None" %}
{% endfor %}
+