Browse Source

Show opening_hours & state

fossil
parent
commit
ad4fa1f231
  1. 14
      commonBody.html

14
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'>

Loading…
Cancel
Save