diff --git a/commonBody.html b/commonBody.html index eb9f27d..b014368 100644 --- a/commonBody.html +++ b/commonBody.html @@ -23,6 +23,20 @@ </li> {% 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] %} +<li class='hasSymbol'> + <i class="fa fa-clock-o {{ oh_css }}" aria-hidden="true"></i> + <span class='key'>{{ keyTrans('opening_hours') }}:</span> + <span class='value'> + {{ trans(oh_state) }}<br /> + {{ tags.opening_hours }} + </span> +</li> +{% endif %} + {% set payment = tagsPrefix(tags, 'payment:') %} {% if payment %} <li class='hasSymbol'>