{% load cms_tags allink_cms_tags sekizai_tags i18n thumbnail allink_image_tags %} {# A map only makes sense, when locations are assigned #} {% if object_list %} {% for object in object_list %}
{% render_model_ajax object.primary_contact "first_name" %} {% render_model_ajax object.primary_contact "last_name" %}
{% if object.primary_contact.job_function %}
{{object.primary_contact.job_function}}
{% endif %}
{% if object.subtitle %}
{{object.subtitle}}
{% endif %}
{% if object.address_1 %}
{{ object.address_1 }}
{{ object.address_2 }}
{{ object.address_3 }}
{% endif %}
{% if object.address_4 %}
{{ object.address_4 }}
{% endif %}
{% if object.email %}
{{object.email}}
{% endif %}
{% if object.phone %}
{% trans "Phone:" %} {{object.phone_formatted}}
{% endif %}
{% if object.mobile %}
{% trans "Mobile:" %} {{object.mobile_formatted}}
{% endif %}
{% if object.fax %}
{% trans "Fax:" %} {{object.fax_formatted}}
{% endif %}