Browse Source

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

pull/12/head
parent
commit
21df9ff16c
  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