From 394247e6d83519073307bc1955fc56086dc0958f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 12 Aug 2017 21:41:56 +0200 Subject: [PATCH] commonBody: show address and phone number --- commonBody.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 commonBody.html diff --git a/commonBody.html b/commonBody.html new file mode 100644 index 0000000..f01130c --- /dev/null +++ b/commonBody.html @@ -0,0 +1,23 @@ +
+ +{% set address = tagsPrefix(tags, 'addr:') %} +{% if address %} +
+ +{{ keyTrans('addr') }}: +
+{{ attribute(tags, 'addr:street') }} {{ attribute(tags, 'addr:housenumber') }}, {{ attribute(tags, 'addr:postcode') }} {{ attribute(tags, 'addr:city') }} +
+{% endif %} + +{% if tags.phone %} +
+ +{{ keyTrans('phone') }}: +
+
+{{ tags.phone }} +
+{% endif %} + +