Browse Source

Body: show etymology of name when available (name:etymology)

pedestrian
parent
commit
f20b08d4df
  1. 8
      detailsBody.html
  2. 8
      popupBody.html

8
detailsBody.html

@ -21,6 +21,14 @@
</li> </li>
{% endif %} {% endif %}
{% if attribute(tags, 'name:etymology') %}
<li class='hasSymbol'>
<i class="fa fa-book" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('name:etymology') }}:</span>
<span class='value'>{{ enumerate(attribute(tags, "name:etymology")) }}</span>
</li>
{% endif %}
{% if tags.website %} {% if tags.website %}
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>

8
popupBody.html

@ -21,6 +21,14 @@
</li> </li>
{% endif %} {% endif %}
{% if attribute(tags, 'name:etymology') %}
<li class='hasSymbol'>
<i class="fa fa-book" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('name:etymology') }}:</span>
<span class='value'>{{ enumerate(attribute(tags, "name:etymology")) }}</span>
</li>
{% endif %}
{% if tags.website %} {% if tags.website %}
<li class='hasSymbol'> <li class='hasSymbol'>
<i class="fa fa-globe" aria-hidden="true"></i> <i class="fa fa-globe" aria-hidden="true"></i>

Loading…
Cancel
Save