2022-08-02 17:15:47 +02:00
|
|
|
<html
|
|
|
|
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
|
|
|
data-namespace-typo3-fluid="true"
|
|
|
|
>
|
2019-07-18 13:44:19 +02:00
|
|
|
|
2022-08-02 17:15:47 +02:00
|
|
|
<f:for each="{pagination.paginator.paginatedItems}" as="date" iteration="index">
|
2019-11-11 12:43:50 +01:00
|
|
|
<div class="row mt-3 mb-3 pb-3">
|
2022-11-09 10:51:15 +01:00
|
|
|
<div class="col-12 order-2 mb-3 mb-md-0 col-md-2 order-md-1">
|
2022-08-13 09:43:16 +02:00
|
|
|
<f:if condition="{f:format.date(format: 'H:i', date: '{date.start}')} != '00:00'">
|
2022-11-09 10:51:15 +01:00
|
|
|
<b class="d-inline d-md-block"><f:format.date format="H.i">{date.start}</f:format.date></b>
|
2022-08-13 09:43:16 +02:00
|
|
|
</f:if>
|
2022-11-09 10:51:15 +01:00
|
|
|
<b class="d-inline d-md-block"><f:format.date format="%a">{date.start}</f:format.date></b>
|
|
|
|
<b class="d-inline d-md-block"><f:format.date format="d.m.">{date.start}</f:format.date></b>
|
2019-07-18 13:44:19 +02:00
|
|
|
{date.event.region.title}<br>
|
|
|
|
</div>
|
2022-11-09 10:51:15 +01:00
|
|
|
<div class="col-12 order-3 col-md-6 order-md-2">
|
2020-02-25 09:03:33 +01:00
|
|
|
|
2021-09-07 19:23:57 +02:00
|
|
|
<f:if condition="{date.canceled} == 'canceled'">
|
|
|
|
<h4 class="bg-secondary text-white p-2">
|
|
|
|
<f:translate key="LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.date.canceled" />
|
|
|
|
</h4>
|
|
|
|
</f:if>
|
2019-11-11 12:43:50 +01:00
|
|
|
<h4>
|
|
|
|
<f:link.action pageUid="{settings.showPID}" action="show" controller="Date" arguments="{date: date}">
|
|
|
|
{date.event.title}
|
|
|
|
</f:link.action>
|
|
|
|
</h4>
|
|
|
|
<p><strong>{date.event.teaser}</strong></p>
|
|
|
|
<f:format.crop maxCharacters="150">{date.event.details}</f:format.crop>
|
2019-07-18 13:44:19 +02:00
|
|
|
</div>
|
2022-11-09 10:51:15 +01:00
|
|
|
<div class="col-12 order-1 mb-3 mb-md-0 col-md-4 order-md-3 position-relative">
|
2021-09-06 15:34:23 +02:00
|
|
|
<f:if condition="{date.event.images.0}">
|
2019-07-18 13:44:19 +02:00
|
|
|
<f:then>
|
|
|
|
<f:link.action pageUid="{settings.showPID}" action="show" controller="Date" arguments="{date: date}">
|
2021-09-06 15:34:23 +02:00
|
|
|
<f:image image="{date.event.images.0}" alt="" width="400c" height="280c" class="img-fluid img-thumbnail"/>
|
2019-07-18 13:44:19 +02:00
|
|
|
</f:link.action>
|
|
|
|
</f:then>
|
|
|
|
<f:else>
|
2019-11-07 14:16:28 +01:00
|
|
|
<f:link.action pageUid="{settings.showPID}" action="show" controller="Date" arguments="{date: date}">
|
2019-11-11 12:43:50 +01:00
|
|
|
<img src="{settings.defaultImagePath}" alt="Dummy" width="480c" height="320c" class="img-fluid img-thumbnail"/>
|
2019-11-07 14:16:28 +01:00
|
|
|
</f:link.action>
|
2019-07-18 13:44:19 +02:00
|
|
|
</f:else>
|
|
|
|
</f:if>
|
2021-09-07 19:23:57 +02:00
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-11 12:43:50 +01:00
|
|
|
<f:if condition="{index.isLast}">
|
|
|
|
<f:then>
|
|
|
|
</f:then>
|
|
|
|
<f:else>
|
|
|
|
<div class="mb-3 border-bottom"></div>
|
|
|
|
</f:else>
|
|
|
|
</f:if>
|
2019-07-18 13:44:19 +02:00
|
|
|
</f:for>
|
2022-08-02 17:15:47 +02:00
|
|
|
|
|
|
|
{f:render(partial: 'Pagination', arguments: {
|
|
|
|
pagination: pagination
|
|
|
|
})}
|
2019-08-14 17:22:01 +02:00
|
|
|
|
2020-02-19 09:08:15 +01:00
|
|
|
</html>
|