mirror of
https://github.com/werkraum-media/thuecat.git
synced 2025-01-07 19:56:13 +01:00
Daniel Siepmann
9176ba0cec
Allows to import entity of type TouristAttraction. Right now only in German, as this is most important. Add output of tourist attraction via custom content element.
21 lines
950 B
HTML
21 lines
950 B
HTML
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
|
data-namespace-typo3-fluid="true">
|
|
<f:for each="{entities}" as="entity">
|
|
<div class="card" style="width: 18rem;">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{entity.title} ({entity.town.title})</h5>
|
|
<p class="card-text">{entity.description}</p>
|
|
|
|
<f:for each="{entity.openingHours}" as="openingHour">
|
|
<p>
|
|
<f:for each="{openingHour.daysOfWeekWithMondayFirstWeekDay}" as="weekday">
|
|
{weekday}: {openingHour.opens} - {openingHour.closes}<br>
|
|
</f:for>
|
|
{openingHour.from -> f:format.date(format: 'd.m.Y')} -
|
|
{openingHour.through -> f:format.date(format: 'd.m.Y')}
|
|
</p>
|
|
</f:for>
|
|
</div>
|
|
</div>
|
|
</f:for>
|
|
</html>
|