fixing an edge case in template that should never actually happen

This commit is contained in:
David Kennedy 2023-12-28 18:29:31 -05:00
parent 1d2bb4a3e9
commit cea9394d27
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -47,6 +47,15 @@
{% if value|length == 1 %}
{% if users %}
<p class="margin-top-0">{{ value.0.user.email }} </p>
{% elif domains %}
{{ value.0.0 }}
{% if value.0.1 %}
({% spaceless %}
{% for addr in value.0.1 %}
{{addr}}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% endspaceless %})
{% endif %}
{% else %}
<p class="margin-top-0">{{ value | first }} </p>
{% endif %}