2019-07-18 13:44:19 +02:00
|
|
|
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
2019-11-07 14:16:28 +01:00
|
|
|
<f:layout name="Default" />
|
2019-07-18 13:44:19 +02:00
|
|
|
|
2019-11-07 14:16:28 +01:00
|
|
|
<f:section name="content">
|
|
|
|
<div class="row">
|
|
|
|
<f:for each="{events}" as="event">
|
|
|
|
<div class="col-sm-12 col-md-6 col-lg-4 col-xl-4">
|
|
|
|
<div class="menu-tile">
|
2021-09-06 15:34:23 +02:00
|
|
|
<f:if condition="{event.images.0}">
|
2019-11-07 14:16:28 +01:00
|
|
|
<f:then>
|
|
|
|
<f:link.action pageUid="{settings.showPID}" action="show" controller="Event" arguments="{event: event}">
|
2021-09-06 15:34:23 +02:00
|
|
|
<f:image image="{event.images.0}" alt="{date.event.title}" title="{date.event.title}" width="480c" height="320c" class="img-fluid img-thumbnail"/>
|
2019-11-07 14:16:28 +01:00
|
|
|
</f:link.action>
|
|
|
|
</f:then>
|
|
|
|
<f:else>
|
|
|
|
<f:link.action pageUid="{settings.showPID}" action="show" controller="Event" arguments="{event: event}">
|
2019-11-07 14:21:33 +01:00
|
|
|
<f:image src="{settings.defaultImagePath}" alt="{date.event.title}" title="{date.event.title}" width="480c" height="320c" class="img-fluid img-thumbnail"/>
|
2019-11-07 14:16:28 +01:00
|
|
|
</f:link.action>
|
|
|
|
</f:else>
|
|
|
|
</f:if>
|
|
|
|
</div>
|
|
|
|
<div class="caption">
|
|
|
|
<div class="caption-text mt-3">
|
|
|
|
{event.region.title}
|
|
|
|
<h4>{event.title}</h4>
|
|
|
|
<p>{event.teaser}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</f:for>
|
|
|
|
</div>
|
|
|
|
</f:section>
|
2021-09-06 15:34:23 +02:00
|
|
|
</html>
|