Skip to content
Snippets Groups Projects
Commit cbebfa52 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-7200 Display additional emails correctly

parent 7861bacc
No related branches found
No related tags found
1 merge request!249ISTWCMS-7200 Any additional emails appear below the primary email on both the...
......@@ -9,6 +9,9 @@
{% block details_content %}
{% if contact_info.email %}
<div class="card__contact-info--email">
{% if contact_info.emails %}
Primary email:
{% endif %}
<a href="mailto:{{ contact_info.email }}">{{ contact_info.email }}</a>
</div>
{% endif %}
......@@ -16,7 +19,7 @@
{% for email in contact_info.emails %}
{% if email.email %}
<div class="card__contact-info--emails">
{{ email.description }}: {{ email.email }}
{{ email.description }}: <a href="mailto:{{ email.email }}">{{ email.email }}</a>
</div>
{% endif %}
{% endfor %}
......
......@@ -28,6 +28,9 @@
{% if contact.footer.contact_info.email %}
<div class="uw-contact__email">
{% if contact.footer.contact_info.emails %}
Primary email:
{% endif %}
<a href="mailto:{{ contact.footer.contact_info.email }}">{{ contact.footer.contact_info.email }}</a>
</div>
{% endif %}
......@@ -35,7 +38,7 @@
{% for email in contact.footer.contact_info.emails %}
{% if email.email %}
<div class="uw-contact__emails">
{{ email.description }}: {{ email.email }}
{{ email.description }}: <a href="mailto:{{ email.email }}">{{ email.email }}</a>
</div>
{% endif %}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment