mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 16:36:11 +01:00
Added links adn debug output
This commit is contained in:
parent
525ebf0f8e
commit
732bff296c
2 changed files with 13 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="p-3 mb-2 bg-light text-dark">
|
<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">
|
<div class="input-group mb-3">
|
||||||
<f:form.textfield name="search" value="{search}" class="form-control" />
|
<f:form.textfield name="search" value="{search}" class="form-control" />
|
||||||
<f:form.submit value="Search" class="btn btn-outline-secondary" />
|
<f:form.submit value="Search" class="btn btn-outline-secondary" />
|
||||||
|
|
|
@ -19,9 +19,17 @@
|
||||||
<b>Hightlight</b>
|
<b>Hightlight</b>
|
||||||
</f:then>
|
</f:then>
|
||||||
</f:if>
|
</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>
|
<p><strong>{date.event.teaser}</strong></p>
|
||||||
<f:format.crop maxCharacters="150">{date.event.details}</f:format.crop>
|
<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>
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
<f:if condition="{date.event.images}">
|
<f:if condition="{date.event.images}">
|
||||||
|
@ -31,7 +39,9 @@
|
||||||
</f:link.action>
|
</f:link.action>
|
||||||
</f:then>
|
</f:then>
|
||||||
<f:else>
|
<f:else>
|
||||||
<img src="https://dummyimage.com/400x280/ddd/ccc" alt="Dummy" width="400" height="280" class="img-fluid img-thumbnail"/>
|
<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:else>
|
||||||
</f:if>
|
</f:if>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue