{# Conversion-Störer (Issue #589): links/rechts halb oder allein volle Breite #} {% set hasLeft = content.fields.stoerer_left is defined and not ibexa_field_is_empty(content, 'stoerer_left') and isValidContentId(ibexa_field_value(content, 'stoerer_left').destinationContentId) %} {% set hasRight = content.fields.stoerer_right is defined and not ibexa_field_is_empty(content, 'stoerer_right') and isValidContentId(ibexa_field_value(content, 'stoerer_right').destinationContentId) %} {% if hasLeft or hasRight %}
{% if hasLeft %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'stoerer_left').destinationContentId, 'viewType': 'teaser', 'noLayout': 1, 'params': {'stoererDesign': true}} ) ) }}
{% endif %} {% if hasRight %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'stoerer_right').destinationContentId, 'viewType': 'teaser', 'noLayout': 1, 'params': {'stoererDesign': true}} ) ) }}
{% endif %}
{% endif %}