{% extends "sanza/_section.html" %} {% load i18n sanza_utils %}{% load url from future %} {% block section_title %}{% trans "Relationships" %}{% endblock %} {% block section_data %} {% if same_as %}
{% trans "Name" %} | {% trans "Entity" %} | {% trans "Role" %} | {% trans "Phone" %} | {% trans "Email" %} | |||
---|---|---|---|---|---|---|---|
{% if c == contact.same_as.main_contact %}![]() |
{% if c.entity.is_single_contact %}
{{c.fullname}} | {% else %}{{c.fullname}} | {{ c.entity }} | {% endif %}{{c.get_roles|seq_to_dash|default:' '}} | {{c.get_phones|seq_to_br}} | {{c.get_email}} |
{% trans "Relationship" %} | {% trans "Contact" %} | {% trans "Entity" %} | {% trans "Phone" %} | {% trans "Email" %} | |||
---|---|---|---|---|---|---|---|
{{r.type_name}} | {% if r.contact.entity.is_single_contact %}{{r.contact.fullname}} | {% else %}{{r.contact.fullname}} | {{ r.contact.entity }} | {% endif %}{{r.contact.get_phones|seq_to_br}} | {{r.contact.get_email}} |
![]() |