• DIRECTORY /

    {{ object.get_full_name }}

    {% if object.addresses.values|length > 0 %} {% with address=object.addresses.all.0 %}

    Contact address: {{ address.get_address_parts|join:", " }}

    {% endwith %} {% endif %} {% if object.phone_numbers.values|length > 0 %} {% with phone_number=object.phone_numbers.all.0 %} {% if phone_number.number %}

    {% if phone_number.phone_type == 'home' %}Home {% elif phone_number.phone_type == 'office' %}Office {% elif phone_number.phone_type == 'mobile' %}Mobile {% elif phone_number.phone_type == 'fax' %}Fax {% endif %}: {{ phone_number.number }}

    {% endif %} {% endwith %} {% endif %} {% if object.emails.values|length > 0 %} {% with email=object.emails.all.0 %}

    {% if email.label %}{{ email.label }}{% else %}Email{% endif %} {{ email.address }}

    {% endwith %} {% endif %}

    {{ object.full_name }} Read more