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