Browse Source

Popup/Details Body: show addresses with 'contact:' prefix

bug-43
parent
commit
7c6177778d
  1. 14
      detailsBody.html
  2. 14
      popupBody.html

14
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>

14
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>

Loading…
Cancel
Save