{% 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 == 'email' %} {% elif info.info_type == 'location' %} {% elif info.info_type == 'website' %} {% elif info.info_type == 'phone' %} {% endif %}
{{ info.label }}: {{ info.value }}
{% endfor %}
{% endif %}