{% load i18n %} {% load static %}
{% if contact.image %} {{ contact.image.description }} {% else %} {% if contact.contact_type == 'person' %} {% else %} {% endif %} {% endif %}
{{ contact.name }} {% if contact_infos %}
{% for info in contact_infos %}
{% if info.info_type != 'other' %}
{% if info.info_type == 'email' %} {% elif info.info_type == 'hours' %} {% elif info.info_type == 'location' %} {% elif info.info_type == 'website' %} {% elif info.info_type == 'phone' %} {% comment %} {% elif info.info_type == 'other' %} {% endcomment %} {% endif %}
{% endif %} {% if info.info_type != 'other' %}
{% else %}
{% endif %} {% if info.info_type == 'website' %} {% if info.label %} {{ info.label }} {% else %} {{ info.value }} {% endif %} {% else %} {% if info.label %} {{ info.label }}: {% endif %} {{ info.value }} {% endif %}
{% endfor %}
{% endif %}