forked from OpenStreetBrowser/main
Stephan Bösch-Plepelits
8 years ago
2 changed files with 29 additions and 25 deletions
@ -1,35 +1,39 @@ |
|||
<dl> |
|||
|
|||
<ul> |
|||
{% set address = tagsPrefix(tags, 'addr:') %} |
|||
{% if address %} |
|||
<dt> |
|||
<i class="fa fa-map-marker symbol" aria-hidden="true"></i> |
|||
{{ keyTrans('addr') }}: |
|||
</dt><dd> |
|||
{{ attribute(tags, 'addr:street') }} {{ attribute(tags, 'addr:housenumber') }}, {{ attribute(tags, 'addr:postcode') }} {{ attribute(tags, 'addr:city') }} |
|||
</dd> |
|||
<li> |
|||
<i class="fa fa-map-marker symbol" aria-hidden="true"></i> |
|||
<span class='key'>{{ keyTrans('addr') }}</span> |
|||
<span class='value'> |
|||
{{ attribute(tags, 'addr:street') }} |
|||
{{ attribute(tags, 'addr:housenumber') }}, |
|||
{{ attribute(tags, 'addr:postcode') }} |
|||
{{ attribute(tags, 'addr:city') }} |
|||
</span> |
|||
</li> |
|||
{% endif %} |
|||
|
|||
{% if tags.phone %} |
|||
<dt> |
|||
<i class="fa fa-phone symbol" aria-hidden="true"></i> |
|||
{{ keyTrans('phone') }}: |
|||
</dt> |
|||
<dd> |
|||
<a href='tel:{{ tags.phone }}'>{{ tags.phone }}</a> |
|||
</dd> |
|||
<li> |
|||
<i class="fa fa-phone symbol" aria-hidden="true"></i> |
|||
<span class='key'>{{ keyTrans('phone') }}</span> |
|||
<span class='value'> |
|||
<a href='tel:{{ tags.phone }}'>{{ tags.phone }}</a> |
|||
</span> |
|||
</li> |
|||
{% endif %} |
|||
|
|||
{% set payment = tagsPrefix(tags, 'payment:') %} |
|||
{% if payment %} |
|||
<dt> |
|||
<i class="fa fa-money symbol" aria-hidden="true"></i> |
|||
{{ keyTrans('payment') }}: |
|||
</dt><dd> |
|||
{% for k, tag in payment %} |
|||
{% if tags[tag] == 'no' %}<s>{{ k }}</s> {% else %}{{ k }} {% endif %} |
|||
{% endfor %} |
|||
</dd> |
|||
<li> |
|||
<i class="fa fa-money symbol" aria-hidden="true"></i> |
|||
<span class='key'>{{ keyTrans('payment') }}</span> |
|||
<span class='value'> |
|||
{% for k, tag in payment %} |
|||
{% if tags[tag] == 'no' %}<s>{{ k }}</s> {% else %}{{ k }} {% endif %} |
|||
{% endfor %} |
|||
</span> |
|||
</li> |
|||
{% endif %} |
|||
|
|||
</dl> |
|||
</ul> |
Reference in new issue
xxxxxxxxxx