{% extends "sanza/_section.html" %} {% load i18n sanza_utils %}{% load url from future %} {% block section_title %}{{ name.capitalize }}{% endblock %} {% block section_data %} {% for x in contacts %} {% if x.is_entity %} {% for c in x.main_contacts %} {% if not forloop.first %} {%endif %} {% if not forloop.last %} {%endif %} {% endfor %} {% else %} {% with x.entity as e %} {% if e.is_single_contact %} {% else %} {% endif %} {% endwith %} {% endif %} {% endfor %}
{% trans "Contacts" %}{% trans "Role" %} {% trans "Phone" %}{% trans "Email" %}{% trans "City" %}
{{x}}
{{c}} {{c.get_roles|seq_to_dash}} {{c.get_phones|seq_to_dash}} {{c.get_email}} {{c.get_city|default:" "}}
{{x}}{{e}} {{x}}{{x.get_roles|seq_to_dash}} {{x.get_phones|seq_to_dash}} {{x.get_email}} {{x.get_city|default:" "}}
{% endblock %}