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 @@ ...@@ -26,57 +26,64 @@
alt: contact.image.alt alt: contact.image.alt
}%} }%}
{% endif %} {% endif %}
<div class="uw-contact__info"> {% if contact.footer.contact_info %}
{% if contact.footer.contact_info.email or contact.footer.contact_info.phone %} <div class="uw-contact__info">
<div class="uw-contact__phone-email"> {% if contact.footer.contact_info.email or contact.footer.contact_info.phone %}
<div class="uw-contact__phone-email">
{% if contact.footer.contact_info.email %} {% if contact.footer.contact_info.email %}
<div class="uw-contact__email"> <div class="uw-contact__email">
<a href="mailto:{{ contact.footer.contact_info.email }}">{{ contact.footer.contact_info.email }}</a> <a href="mailto:{{ contact.footer.contact_info.email }}">{{ contact.footer.contact_info.email }}</a>
</div> </div>
{% endif %} {% endif %}
{% if contact.footer.contact_info.phone %} {% if contact.footer.contact_info.phone %}
<div class="uw-contact__phone"> <div class="uw-contact__phone">
{{ contact.footer.contact_info.phone }} {{ contact.footer.contact_info.phone }}
</div> </div>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
{% if contact.footer.contact_info.location %} {% if contact.footer.contact_info.location %}
<div class="uw-contact__location"> <div class="uw-contact__location">
<span class="uw-label">Location:</span> <span class="uw-label">Location:</span>
{{ contact.footer.contact_info.location }} {{ contact.footer.contact_info.location }}
</div> </div>
{% endif %} {% endif %}
{% if contact.footer.links.profile %} {% if contact.footer.links.profile %}
<div class="uw-contact__profile"> <div class="uw-contact__profile">
<span class="uw-label">Link to profile:</span> <span class="uw-label">Link to profile:</span>
<a href="{{ contact.footer.links.profile.0.uri }}"> <a href="{{ contact.footer.links.profile.0.uri }}">
{% if contact.footer.links.profile.0.title %} {% if contact.footer.links.profile.0.title %}
{{ contact.footer.links.profile.0.title }} {{ contact.footer.links.profile.0.title }}
{% else %} {% else %}
{{ contact.header.title }} {{ contact.header.title }}
{% endif %} {% endif %}
</a> </a>
</div> </div>
{% endif %} {% endif %}
{% if contact.footer.links.webpage %} {% if contact.footer.links.webpage %}
<div class="uw-contact__website"> <div class="uw-contact__website">
<span class="uw-label">Link to personal webpage:</span> <span class="uw-label">Link to personal webpage:</span>
<a href="{{ contact.footer.links.webpage.0.uri }}"> <a href="{{ contact.footer.links.webpage.0.uri }}">
{% if contact.footer.links.webpage.0.title %} {% if contact.footer.links.webpage.0.title %}
{{ contact.footer.links.webpage.0.title }} {{ contact.footer.links.webpage.0.title }}
{% else %} {% else %}
{{ contact.header.title }} {{ contact.header.title }}
{% endif %} {% endif %}
</a> </a>
</div> </div>
{% endif %} {% endif %}
</div> </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> </div>
{% endblock %} {% endblock %}
{% endembed %} {% 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