mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-14 17:26:12 +01:00
46df4f4028
Adapt detail view template for Bootstrap usage. Provide proper out-of-the-box integration.
22 lines
965 B
HTML
22 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>
|