<div class="boldr-opening-hours-wrapper">
<div class="boldr-opening-hours">
{% for openingHour in openingHours %}
<div class="boldr-opening-hour">
<span class="boldr-opening-hour-days">
<span class="boldr-opening-hour-day">{{ openingHour.days[0] }}</span>
{% if openingHour.days|length > 1 %}
<span class="boldr-opening-hour-day-seperator">-</span>
<span class="boldr-opening-hour-day">{{ openingHour.days|last }}</span>
{% endif %}
</span>
<span class="boldr-opening-hour-times">
{% for time in openingHour.times %}
<span class="boldr-opening-hour-time">
{% if time == 'APPOINTMENT' %}
{{ 'by_appointment'|trans({}, 'BoldrOpeningHoursBundle') }}
{% else %}
<span class="boldr-opening-hour-time-start">{{ time[0] }}</span>
<span class="boldr-opening-hour-time-seperator">-</span>
<span class="boldr-opening-hour-time-end">{{ time[1] }}</span>
{% endif %}
</span>
{% else %}
<span class="boldr-opening-hour-time">
{{ 'closed'|trans({}, 'BoldrOpeningHoursBundle') }}
</span>
{% endfor %}
</span>
</div>
{% endfor %}
</div>
{% if caption %}
<p class="boldr-opening-hours-caption">
{{ caption }}
</p>
{% endif %}
</div>