{% for p_contact in personalContact_list %}
{{ p_contact.title|safe}}
{% if p_contact.member.all %} Assistant: {% for member in p_contact.member.all %} {{member.given_name}} {{member.last_name}} {% endfor %}
{% endif %} {% if p_contact.phone1Contact %} Phone: {{ p_contact.phone1Contact }} {% if p_contact.phone2Contact %} , {{ p_contact.phone2Contact }} {% endif %}
{% endif %} {% if p_contact.emailContact %} E-Mail: {{ p_contact.emailContact }} {% endif %}
{% endfor %} {% for contact in contact_list %} {% ifchanged contact.title %}

{{ contact.title|safe}}
{% else %}

{% endifchanged %}
{% if contact.building %} {{ contact.building.short_name }}
{% endif %} {% if contact.emailContact %}
E-Mail: {{ contact.emailContact }}
{% endif %} {% if contact.prof %} {{contact.prof}}
{% endif %} {% if contact.main %} {{contact.main}}
{% endif %} {% if contact.faculty %} {{contact.faculty}}
{% endif %} {% if contact.institute %} {{contact.institute}}
{% endif %} {% if contact.chair %} {{contact.chair}}
{% endif %} {% if contact.street %} {{contact.street}} {% endif %} {% if contact.streetnumber %} {{contact.streetnumber}}
{% endif %} {% if contact.postalcode %} {{contact.postalcode}}, {% endif %} {% if contact.city %} {{contact.city}}, {% endif %} {% if contact.country %} {{contact.country}} {% endif %}
{% endfor %}