You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.6 KiB
56 lines
1.6 KiB
<ul>
|
|
{% set address = tagsPrefix(tags, 'addr:') %}
|
|
{% if address %}
|
|
<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 %}
|
|
<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 %}
|
|
<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 %}
|
|
|
|
{% if attribute(tags, 'wheelchair') %}
|
|
<li>
|
|
<i class="fa fa-wheelchair-alt symbol {{ tags.wheelchair }}" aria-hidden="true"></i>
|
|
<span class='key'>{{ keyTrans('wheelchair') }}</span>
|
|
<span class='value'>
|
|
{{ tagTrans('wheelchair', tags.wheelchair) -}}
|
|
|
|
{%- if attribute(tags, 'toilets:wheelchair') -%}
|
|
, <span class='{{ attribute(tags, 'toilets:wheelchair') }}'>🚽</span> {{ keyTrans('amenity', 'toilets') }}: {{ tagTrans('toilets:wheelchair', attribute(tags, 'toilets:wheelchair')) }}</span>
|
|
{% endif %}
|
|
|
|
<br/>
|
|
{{ localizedTag(tags, 'wheelchair:description') }}
|
|
</span>
|
|
</li>
|
|
{% endif %}
|
|
|
|
</ul>
|