mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-09-19 14:56:12 +02:00
23 lines
965 B
HTML
23 lines
965 B
HTML
|
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||
|
<div class="parking">
|
||
|
<f:if condition="{parkingFacilitiesNearBy -> f:count()} > 3">
|
||
|
<f:then>
|
||
|
<div class="row">
|
||
|
<f:for each="{parkingFacilitiesNearBy}" as="parkingFacility">
|
||
|
<div class="col-md-6">
|
||
|
{parkingFacility.title}
|
||
|
{f:render(partial: 'Address', arguments: {address: parkingFacility.address})}
|
||
|
</div>
|
||
|
</f:for>
|
||
|
</div>
|
||
|
</f:then>
|
||
|
<f:else>
|
||
|
<f:for each="{parkingFacilitiesNearBy}" as="parkingFacility">
|
||
|
{parkingFacility.title}
|
||
|
{f:render(partial: 'Address', arguments: {address: parkingFacility.address})}
|
||
|
</f:for>
|
||
|
</f:else>
|
||
|
</f:if>
|
||
|
</div>
|
||
|
</html>
|