mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
fixing an edge case in template that should never actually happen
This commit is contained in:
parent
1d2bb4a3e9
commit
cea9394d27
1 changed files with 9 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue