diff --git a/src/printing/grantlee/themes/full/theme.html b/src/printing/grantlee/themes/full/theme.html
index 882b0fef..67167fb2 100644
--- a/src/printing/grantlee/themes/full/theme.html
+++ b/src/printing/grantlee/themes/full/theme.html
@@ -1,108 +1,112 @@
{% if contacts %}
{% for contact in contacts %}
{{ contact.name }}
{% if contact.photo %}
{% endif %}
{% if contact.emails %}
{% for email in contact.emails %}
{{ email.email }}{% if not forloop.last %}, {% endif %}
{% endfor %}
|
{% endif %}
{% if contact.organization %}
{{ contact.organization }} |
{% endif %}
{% if contact.webPage %}
{{ contact.webPage|safe }} |
{% endif %}
{% if contact.birthday %}
{{ contact.birthday }} |
{% endif %}
{% if contact.note %}
{{ contact.note }} |
{% endif %}
{% if contact.title %}
{{ contact.title }} |
{% endif %}
{% for address in contact.addresses %}
{% if address.formattedAddress %}
-
- {{ address.formattedAddress|safe }} |
+
+
+ {% with address.formattedAddress as fa %}
+ {% for line in fa.splitlines %}{{ line }} {% endfor %}
+ {% endwith %}
+ |
{% endif %}
{% endfor %}
{% for listphone in contact.phones %}
{{ listphone.number }} |
{% endfor %}
{% for im in contact.instantManging %}
{{ im.address }} |
{% endfor %}
{% endfor %}
{% endif %}
diff --git a/src/viewertemplates/contact_embedded.html b/src/viewertemplates/contact_embedded.html
index 85037169..4ba899e5 100644
--- a/src/viewertemplates/contact_embedded.html
+++ b/src/viewertemplates/contact_embedded.html
@@ -1,176 +1,183 @@
|
{{ contact.name }} |
{{ contact.job }} |
{{ contact.organization }} |
{% 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 %}
{{ phoneNumber.typeLabel }} |
{% if phoneNumber.supportsSms %}
{{ phoneNumber.number }} |
|
{% else %}
{{ phoneNumber.number }} |
{% endif %}
{% endfor %}
{% for email in contact.emails %}
{{ contact.emailsi18n }} |
{{ email.email }} |
{% 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 %}
+
+ {{ address.typeLabel }} |
+
+ {% with address.formattedAddress as fa %}
+ {% for line in fa.splitlines %}
+ {{ line }}
+ {% if line and not forloop.last %} {% endif %}
+ {% endfor %}
+ {% 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 %}
{% if contact.hasqrcode %}
{% endif %}