Browse Source

Show opening_hours & state

master
parent
commit
ad4fa1f231
  1. 14
      commonBody.html

14
commonBody.html

@ -23,6 +23,20 @@
</li> </li>
{% endif %} {% 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:') %} {% set payment = tagsPrefix(tags, 'payment:') %}
{% if payment %} {% if payment %}
<li class='hasSymbol'> <li class='hasSymbol'>

Loading…
Cancel
Save