mirror of
https://github.com/werkraum-media/thuecat.git
synced 2025-01-06 03:06:13 +01:00
d23f023aa1
This allows out of the box integration into websites using the Twitter Bootstrap Frontend Framework. Resolves: #11
15 lines
718 B
HTML
15 lines
718 B
HTML
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
|
<div class="openingHours">
|
|
<f:for each="{openingHours}" as="openingHour">
|
|
<h6>
|
|
{openingHour.from -> f:format.date(format: 'd.m.Y')} -
|
|
{openingHour.through -> f:format.date(format: 'd.m.Y')}
|
|
</h6>
|
|
<p>
|
|
<f:for each="{openingHour.daysOfWeekWithMondayFirstWeekDay}" as="weekday">
|
|
{f:translate(id: 'content.openingHour.weekday.{weekday}', default: weekday, extensionName: 'Thuecat')} {openingHour.opens} - {openingHour.closes}<br>
|
|
</f:for>
|
|
</p>
|
|
</f:for>
|
|
</div>
|
|
</html>
|