Commit 87945153 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Display two images in a row

parent 80940987
Pipeline #3667 passed with stages
in 6 minutes and 15 seconds
<f:if condition="{event.image}">
<div class="event-detail-row">
<div class="event-detail-value event-image">
<div class="event-detail-value event-image row">
<f:for each="{event.image}" as="image">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
<div class="col-sm-6">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
</div>
</f:for>
</div>
<div class="clear"></div>
......@@ -11,9 +13,11 @@
<f:if condition="{event.additionalImage}">
<div class="event-detail-row">
<div class="event-detail-value event-additional-image">
<div class="event-detail-value event-additional-image row">
<f:for each="{event.additionalImage}" as="image">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
<div class="col-sm-6">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
</div>
</f:for>
</div>
<div class="clear"></div>
......@@ -38,4 +42,4 @@
</div>
<div class="clear"></div>
</div>
</f:if>
\ No newline at end of file
</f:if>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment