Browse Source

Remove opening_hours state calc - not ready yet

master
parent
commit
f407103a33
  1. 6
      commonBody.html
  2. 6
      detailsBody.html

6
commonBody.html

@ -76,14 +76,10 @@
{% endif %} {% endif %}
{% if tags.opening_hours %} {% 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'> <li class='hasSymbol'>
<i class="fa fa-clock-o {{ oh_css }}" aria-hidden="true"></i>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_hours') }}:</span> <span class='key'>{{ keyTrans('opening_hours') }}:</span>
<span class='value'> <span class='value'>
{{ trans(oh_state) }}<br />
{{ tags.opening_hours }} {{ tags.opening_hours }}
</span> </span>
</li> </li>

6
detailsBody.html

@ -88,14 +88,10 @@
{% endif %} {% endif %}
{% if tags.opening_hours %} {% 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'> <li class='hasSymbol'>
<i class="fa fa-clock-o {{ oh_css }}" aria-hidden="true"></i>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class='key'>{{ keyTrans('opening_hours') }}:</span> <span class='key'>{{ keyTrans('opening_hours') }}:</span>
<span class='value'> <span class='value'>
{{ trans(oh_state) }}<br />
{{ tags.opening_hours }} {{ tags.opening_hours }}
</span> </span>
</li> </li>

Loading…
Cancel
Save