diff --git a/src/printing/grantlee/themes/full/theme.html b/src/printing/grantlee/themes/full/theme.html --- a/src/printing/grantlee/themes/full/theme.html +++ b/src/printing/grantlee/themes/full/theme.html @@ -82,8 +82,12 @@ {% if address.formattedAddress %} - {{ address.type }} - {{ address.formattedAddress|safe }} + {{ address.typeLabel }} + + {% with address.formattedAddress as fa %} + {% for line in fa.splitlines %}{{ line }}
{% endfor %} + {% endwith %} + {% endif %} {% endfor %} diff --git a/src/viewertemplates/contact_embedded.html b/src/viewertemplates/contact_embedded.html --- a/src/viewertemplates/contact_embedded.html +++ b/src/viewertemplates/contact_embedded.html @@ -72,13 +72,20 @@ {% 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 %}