2021-09-14 15:02:16 +02:00
|
|
|
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
2022-03-08 09:27:18 +01:00
|
|
|
<div class="openingHours row">
|
2021-09-14 15:02:16 +02:00
|
|
|
<f:for each="{openingHours}" as="openingHour">
|
2022-03-08 09:27:18 +01:00
|
|
|
<f:if condition="{openingHours -> f:count()} == 1">
|
|
|
|
<f:then>
|
|
|
|
<div class="col-12">
|
|
|
|
</f:then>
|
|
|
|
<f:else>
|
|
|
|
<div class="col-md-6">
|
|
|
|
</f:else>
|
|
|
|
</f:if>
|
|
|
|
<h3>
|
2021-09-14 15:02:16 +02:00
|
|
|
{openingHour.from -> f:format.date(format: 'd.m.Y')} -
|
|
|
|
{openingHour.through -> f:format.date(format: 'd.m.Y')}
|
2022-03-08 09:27:18 +01:00
|
|
|
</h3>
|
2022-04-11 16:16:51 +02:00
|
|
|
<div>
|
2021-09-14 15:02:16 +02:00
|
|
|
<f:for each="{openingHour.daysOfWeekWithMondayFirstWeekDay}" as="weekday">
|
2022-04-11 16:16:51 +02:00
|
|
|
<div class="day-row">
|
|
|
|
<div class="day"><span>{f:translate(id: 'content.openingHour.weekday.{weekday}', default: weekday, extensionName: 'Thuecat')}</span></div>
|
|
|
|
<div class="time"><span>{openingHour.opens} - {openingHour.closes}</span></div>
|
|
|
|
</div>
|
2021-09-14 15:02:16 +02:00
|
|
|
</f:for>
|
2022-04-11 16:16:51 +02:00
|
|
|
</div>
|
2022-03-08 09:27:18 +01:00
|
|
|
</div>
|
2021-09-14 15:02:16 +02:00
|
|
|
</f:for>
|
|
|
|
</div>
|
|
|
|
</html>
|