Merge branch 'dev' of ssh://gitlab.werkraum-media.de:21512/typo3/events into dev

This commit is contained in:
Dirk 2019-09-25 15:08:21 +02:00
commit 4dc7ed88f0
2 changed files with 13 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<div class="row">
<div class="col-12">
<div class="p-3 mb-2 bg-light text-dark">
<f:form action="search" additionalAttributes="{role: 'form'}">
<f:form action="search" additionalAttributes="{role: 'form'}" method="get">
<div class="input-group mb-3">
<f:form.textfield name="search" value="{search}" class="form-control" />
<f:form.submit value="Search" class="btn btn-outline-secondary" />

View file

@ -19,9 +19,17 @@
<b>Hightlight</b>
</f:then>
</f:if>
<h4>{date.event.title}</h4>
<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>
<pre style="margin-top:15px; font-size:80%;">
DEBUGGING:
GLOBAL EVENT ID: {date.event.globalId}
</pre>
</div>
<div class="col-4">
<f:if condition="{date.event.images}">
@ -31,7 +39,9 @@
</f:link.action>
</f:then>
<f:else>
<f:link.action pageUid="{settings.showPID}" action="show" controller="Date" arguments="{date: date}">
<img src="https://dummyimage.com/400x280/ddd/ccc" alt="Dummy" width="400" height="280" class="img-fluid img-thumbnail"/>
</f:link.action>
</f:else>
</f:if>
</div>