{% extends "sanza/_section.html" %} {% load i18n sanza_utils %}{% load url from future %} {% block section_title %}{% trans "Contacts" %}{% endblock %} {% block section_data %} {% if contacts %} {% trans "Contact" %} {% for c in contacts %} {% with c.has_left as has_left %} {% if entity %} {% else %} {% if c.entity.is_single_contact %} {% else %} {% endif %} {% endif %} {% endwith %} {% endfor %}
{% trans "Roles" %}{% trans "Phone" %}{% trans "Email" %}
{{c.fullname}}{{c.fullname}}{{ c.entity }} {{c.fullname}}{{c.get_roles|seq_to_dash|default:" "}} {{c.get_phones|seq_to_br}} {% if c.email %}{{c.email}}{% else %} {% endif %}
{% endif %} {% endblock %} {% block section_action %} {% if entity %} {% trans "Add" %} {% endif %} {% if entity and show_all_contacts %} {% trans "View old contacts" %} {% endif %} {% if mailto and opportunity %} {% trans "Mail to" %} {% endif %} {% endblock %}