diff --git a/commonBody.html b/commonBody.html index 270ac94..57c5138 100644 --- a/commonBody.html +++ b/commonBody.html @@ -76,14 +76,10 @@ {% endif %} {% if tags.opening_hours %} -{% set oh_state = openingHoursState(tags.opening_hours) %} -{% set oh_css = { "open": "yes", "closed": "no", "unknown": "unknown" } %} -{% set oh_css = oh_css[oh_state] %}
  • - + {{ keyTrans('opening_hours') }}: - {{ trans(oh_state) }}
    {{ tags.opening_hours }}
  • diff --git a/detailsBody.html b/detailsBody.html index a0db52f..0f4e238 100644 --- a/detailsBody.html +++ b/detailsBody.html @@ -88,14 +88,10 @@ {% endif %} {% if tags.opening_hours %} -{% set oh_state = openingHoursState(tags.opening_hours) %} -{% set oh_css = { "open": "yes", "closed": "no", "unknown": "unknown" } %} -{% set oh_css = oh_css[oh_state] %}
  • - + {{ keyTrans('opening_hours') }}: - {{ trans(oh_state) }}
    {{ tags.opening_hours }}