summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-29 15:02:07 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-29 15:02:07 +0200
commitef6a28d409dab27ac9f26c7ce259ece7ea125994 (patch)
treeec252ac69c8a664ba5bff5aa28a844e29a8c3dde /ishtar_common/templates/ishtar/blocks
parent5b3bfd2a9c26103ab840080cfb5e6105fbcc17d1 (diff)
parent194d4d410645725d0451dd03bdf14b9058da17d5 (diff)
downloadIshtar-ef6a28d409dab27ac9f26c7ce259ece7ea125994.tar.bz2
Ishtar-ef6a28d409dab27ac9f26c7ce259ece7ea125994.zip
Merge branch 'master' into develop
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
-rw-r--r--ishtar_common/templates/ishtar/blocks/sheet_address_section.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_address_section.html b/ishtar_common/templates/ishtar/blocks/sheet_address_section.html
new file mode 100644
index 000000000..917258173
--- /dev/null
+++ b/ishtar_common/templates/ishtar/blocks/sheet_address_section.html
@@ -0,0 +1,6 @@
+{% load i18n %}
+{% if item.address or item.address_complement or item.postal_code or item.town %}
+<p><label>{% trans "Address" %}</label><pre>{% if item.address %}{{item.address}}{% endif %}{% if item.address_complement %}
+{{item.address_complement}}{% endif %}{% if item.postal_code or item.town %}
+{{item.postal_code}} {{item.town}}{% endif %}</pre>
+</p>{% endif %}