{% extends "balafon/_bs_section.html" %} {% load i18n balafon_utils %} {% block section_title %}{% trans "Contacts" %}{% endblock %} {% block section_data %}
{% trans "Role" %} | {% trans "Phone" %} | {% trans "Email" %} | {% trans "City" %} | ||||
---|---|---|---|---|---|---|---|
{{x}} | {% if x.main_contacts %} {% for c in x.main_contacts %} {% if not forloop.first %}|||||||
{{c.fullname}} | {{c.get_roles|seq_to_dash}} | {{c.get_phones|seq_to_dash}} | {{c.get_email}} | {{c.get_city|default:" "}} | |||
{{x.fullname}} | {% else %}{{e}} | {{x.fullname}} {%if x.has_left %}{% trans "has left" %}{% endif %} | {% endif %}{{x.get_roles|seq_to_dash}} | {{x.get_phones|seq_to_dash}} | {{x.get_email}} | {{x.get_city|default:" "}} | {% endwith %} {% endif %}