Commit d287632c authored by Eric Bremner's avatar Eric Bremner
Browse files

RT-1215575: ensuring that additional info appears on contact listing

parent e4e56c9c
......@@ -26,57 +26,64 @@
alt: contact.image.alt
}%}
{% endif %}
<div class="uw-contact__info">
{% if contact.footer.contact_info.email or contact.footer.contact_info.phone %}
<div class="uw-contact__phone-email">
{% if contact.footer.contact_info %}
<div class="uw-contact__info">
{% if contact.footer.contact_info.email or contact.footer.contact_info.phone %}
<div class="uw-contact__phone-email">
{% if contact.footer.contact_info.email %}
<div class="uw-contact__email">
<a href="mailto:{{ contact.footer.contact_info.email }}">{{ contact.footer.contact_info.email }}</a>
</div>
{% endif %}
{% if contact.footer.contact_info.email %}
<div class="uw-contact__email">
<a href="mailto:{{ contact.footer.contact_info.email }}">{{ contact.footer.contact_info.email }}</a>
</div>
{% endif %}
{% if contact.footer.contact_info.phone %}
<div class="uw-contact__phone">
{{ contact.footer.contact_info.phone }}
</div>
{% endif %}
</div>
{% endif %}
{% if contact.footer.contact_info.phone %}
<div class="uw-contact__phone">
{{ contact.footer.contact_info.phone }}
</div>
{% endif %}
</div>
{% endif %}
{% if contact.footer.contact_info.location %}
<div class="uw-contact__location">
<span class="uw-label">Location:</span>
{{ contact.footer.contact_info.location }}
</div>
{% endif %}
{% if contact.footer.contact_info.location %}
<div class="uw-contact__location">
<span class="uw-label">Location:</span>
{{ contact.footer.contact_info.location }}
</div>
{% endif %}
{% if contact.footer.links.profile %}
<div class="uw-contact__profile">
<span class="uw-label">Link to profile:</span>
<a href="{{ contact.footer.links.profile.0.uri }}">
{% if contact.footer.links.profile.0.title %}
{{ contact.footer.links.profile.0.title }}
{% else %}
{{ contact.header.title }}
{% endif %}
</a>
</div>
{% endif %}
{% if contact.footer.links.profile %}
<div class="uw-contact__profile">
<span class="uw-label">Link to profile:</span>
<a href="{{ contact.footer.links.profile.0.uri }}">
{% if contact.footer.links.profile.0.title %}
{{ contact.footer.links.profile.0.title }}
{% else %}
{{ contact.header.title }}
{% endif %}
</a>
</div>
{% endif %}
{% if contact.footer.links.webpage %}
<div class="uw-contact__website">
<span class="uw-label">Link to personal webpage:</span>
<a href="{{ contact.footer.links.webpage.0.uri }}">
{% if contact.footer.links.webpage.0.title %}
{{ contact.footer.links.webpage.0.title }}
{% else %}
{{ contact.header.title }}
{% endif %}
</a>
</div>
{% endif %}
</div>
{% if contact.footer.links.webpage %}
<div class="uw-contact__website">
<span class="uw-label">Link to personal webpage:</span>
<a href="{{ contact.footer.links.webpage.0.uri }}">
{% if contact.footer.links.webpage.0.title %}
{{ contact.footer.links.webpage.0.title }}
{% else %}
{{ contact.header.title }}
{% endif %}
</a>
</div>
{% endif %}
</div>
{% endif %}
{% if contact.footer.additional_info %}
<div class="uw-contact__additional-info">
<span class="uw-label">Additional information:</span>
{{ contact.footer.additional_info }}
{% endif %}
</div>
{% endblock %}
{% endembed %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment