From 21df9ff16c23ca8899144c6efc261124788c4942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 11 Sep 2019 21:11:10 +0200 Subject: [PATCH] Body: show etymology of name when available (name:etymology) --- detailsBody.html | 8 ++++++++ popupBody.html | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/detailsBody.html b/detailsBody.html index ca0b27f..5e0da29 100644 --- a/detailsBody.html +++ b/detailsBody.html @@ -21,6 +21,14 @@ {% endif %} +{% if attribute(tags, 'name:etymology') %} +
  • + + {{ keyTrans('name:etymology') }}: + {{ enumerate(attribute(tags, "name:etymology")) }} +
  • +{% endif %} + {% if tags.website %}
  • diff --git a/popupBody.html b/popupBody.html index b3ead54..8952dec 100644 --- a/popupBody.html +++ b/popupBody.html @@ -21,6 +21,14 @@
  • {% endif %} +{% if attribute(tags, 'name:etymology') %} +
  • + + {{ keyTrans('name:etymology') }}: + {{ enumerate(attribute(tags, "name:etymology")) }} +
  • +{% endif %} + {% if tags.website %}