diff --git a/detailsBody.html b/detailsBody.html index 9bb0959..4cf1329 100644 --- a/detailsBody.html +++ b/detailsBody.html @@ -21,6 +21,20 @@ </li> {% endif %} +{% set address = tagsPrefix(tags, 'contact:') %} +{% if address %} +<li class='hasSymbol'> + <i class="fa fa-map-marker" aria-hidden="true"></i> + <span class='key'>{{ keyTrans('address') }}:</span> + <span class='value'> + {{ attribute(tags, 'contact:street') }} + {{ attribute(tags, 'contact:housenumber') }}, + {{ attribute(tags, 'contact:postcode') }} + {{ attribute(tags, 'contact:city') }} + </span> +</li> +{% endif %} + {% if attribute(tags, 'name:etymology') %} <li class='hasSymbol'> <i class="fa fa-book" aria-hidden="true"></i> diff --git a/popupBody.html b/popupBody.html index 99016bf..462f113 100644 --- a/popupBody.html +++ b/popupBody.html @@ -21,6 +21,20 @@ </li> {% endif %} +{% set address = tagsPrefix(tags, 'contact:') %} +{% if address %} +<li class='hasSymbol'> + <i class="fa fa-map-marker" aria-hidden="true"></i> + <span class='key'>{{ keyTrans('address') }}:</span> + <span class='value'> + {{ attribute(tags, 'contact:street') }} + {{ attribute(tags, 'contact:housenumber') }}, + {{ attribute(tags, 'contact:postcode') }} + {{ attribute(tags, 'contact:city') }} + </span> +</li> +{% endif %} + {% if attribute(tags, 'name:etymology') %} <li class='hasSymbol'> <i class="fa fa-book" aria-hidden="true"></i>