From f407103a33466abd3daa6f21d529ec52739da5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 3 Sep 2017 21:31:27 +0200 Subject: [PATCH] Remove opening_hours state calc - not ready yet --- commonBody.html | 6 +----- detailsBody.html | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) 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 }}