diff --git a/src/viewertemplates/contact_embedded.html b/src/viewertemplates/contact_embedded.html index c89149ad..df791784 100644 --- a/src/viewertemplates/contact_embedded.html +++ b/src/viewertemplates/contact_embedded.html @@ -1,184 +1,183 @@
{% if contact.birthday %} {% with contact.birthdayi18n as title %} {% if contact.birthdayage %} {% with contact.birthdayage|safe as value %} {% include "contact_row.html" %} {% endwith %} {% else %} {% with contact.birthday|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endif %} {% endwith %} {% endif %} {% for phoneNumber in contact.phoneNumbers %} {% if phoneNumber.smsLink %} {% with phoneNumber.type as title %} {% with phoneNumber.numberLink|safe as value %} {% with phoneNumber.smsLink|safe as value2 %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endwith %} {% else %} {% with phoneNumber.type as title %} {% with phoneNumber.numberLink|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% endfor %} {% for email in contact.emails %} {% with contact.emailsi18n as title %} {% with email|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endfor %} {% for imAddress in contact.imAddresses %} {% with imAddress.type as title %} {% with imAddress.imAddress|safe as value %} {% with imAddress.imIcon|safe as value2 %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endwith %} {% endfor %} {% for website in contact.websites %} {% with contact.websitei18n as title %} {% with website|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endfor %} {% if contact.blogUrl %} {% with "Blog Feed" as title %} {% with contact.blogUrl|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% for address in contact.addresses %} {% with address.type as title %} {% with address.formattedAddressLink|safe as value %} {% with address.formattedAddressIcon|safe as value2 %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endwith %} {% endfor %} {% if contact.profession %} {% with contact.Professioni18n as title %} {% with contact.profession as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.department %} {% with contact.departmenti18n as title %} {% with contact.department as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.office %} {% with contact.officei18n as title %} {% with contact.office as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.manager %} {% with contact.manageri18n as title %} {% with contact.manager as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.assistant %} {% with contact.assistanti18n as title %} {% with contact.assistant as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.spouse %} {% with contact.spousei18n as title %} {% with contact.spouse as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.anniversary %} {% with contact.anniversaryi18n as title %} {% with contact.anniversary as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% for customField in contact.customFieldsUrl %} {% with customField.title as title %} {% with customField.value|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endfor %} {% for customField in contact.customFields %} {% with customField.title as title %} {% with customField.value as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endfor %} {% if contact.addressBookName %} {% with contact.addressBookNamei18n as title %} {% with contact.addressBookName as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %} {% if contact.note %} {% with contact.notei18n as title %} {% with contact.note|safe as value %} {% include "contact_row.html" %} {% endwith %} {% endwith %} {% endif %}
{{ contact.name }}
{{ contact.job }}
{{ contact.organization }}
{% if contact.hasqrcode %}

-

{% endif %}