{% extends "@ibexadesign/pagelayout.html.twig" %} {% block page_head %} {% if content.fields.description is defined %} {% set description = ibexa_field_value( content, 'description' ) %} {% else %} {% set description = ibexa_content_name( content) %} {% endif %} {{ parent() }} {% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('magazin_dossier') }} {% endblock %} {% block content %}
{% include "@ibexadesign/embed/_dossiercircle.html.twig" with { 'txt1_big': 'DOSSIER', 'txt2': ibexa_field_value(content, 'subtitle'), 'txt3_bold': ibexa_field_value(content, 'titel'), 'info': ibexa_field_value(content, 'title_description') } %}

{% if not ibexa_field_is_empty( content, 'first_article' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'first_article').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "lineDesign": true }} ) ) }}

{% endif %} {% if not ibexa_field_is_empty( content, 'praxistipps_article' ) %}

{{ ibexa_field_value(content, 'praxistipps_titel') }}

{% for contentId in ibexa_field_value( content, 'praxistipps_article' ).destinationContentIds %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': contentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": true, "hideImage": false, "colWidth": 12, "equalHeight": false }} ) ) }}
{% endfor %}
{% endif %} {% if not ibexa_field_is_empty( content, 'grey_article_left' ) and not ibexa_field_is_empty( content, 'grey_article_right' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value( content, 'grey_article_left' ).destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": false, "readmore": false, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value( content, 'grey_article_right' ).destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": false,"readmore": false, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }}

{% endif %} {% if not ibexa_field_is_empty( content, 'image_article' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'image_article').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "imageDesignDossier": true}} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'eltern_link' ) %} {% set eltern_link = getSiteaccessUrlByContentId(ibexa_field_value(content, 'eltern_link').destinationContentId) %}

{% endif %} {% if not ibexa_field_is_empty( content, 'article_teaser_no_image' ) and not ibexa_field_is_empty( content, 'expertentipp_artikel' ) %}
{% if not ibexa_field_is_empty( content, 'image_for_article_teaser_no_image' ) %}
{% else %}
{% endif %} {% if not ibexa_field_is_empty( content, 'article_teaser_no_image' ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'article_teaser_no_image').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "fullDesign": true, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }} {% endif %}
{% if not ibexa_field_is_empty( content, 'expertentipp_artikel' ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'expertentipp_artikel').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "kolumneDesign": true }} ) ) }} {% if not ibexa_field_is_empty( content, 'expertentipp_portrait' ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content,"expertentipp_portrait").destinationContentId, 'viewType': 'embed', 'noLayout': true, 'params': {'alias': 'magazin_portrait_image_col2','hideText': 'true'}} ) ) }} {% endif %}
{% endif %}

{% endif %} {% if not ibexa_field_is_empty( content, 'videoteaser' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'videoteaser').destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesignDossier": true, "hideImage": false, "colWidth": 12, "equalHeight": false }} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'dossier_slider' ) %}
{{ ibexa_render_field( content, 'dossier_slider', { 'template': _self, 'parameters': {"carousel": 'dossierCarousel'} } ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'artikel_row_mediatipps' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value( content, 'artikel_row_mediatipps' ).destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": true, "readmore": false, "hideImage": false, "colWidth": 12, "equalHeight": false }} ) ) }}
{% if not ibexa_field_is_empty( content, 'mediatips_link' ) %} {% set url = getSiteaccessUrlParentByContentId(ibexa_field_value(content, 'mediatips_link').destinationContentId) %}

{{ ibexa_render_field(content, 'mediatips_title') }}

{{ ibexa_field_value(content, 'mediatips_text') }}

{% else %}

{{ ibexa_render_field(content, 'mediatips_title') }}

{{ ibexa_field_value(content, 'mediatips_text') }}

{% endif %}
{% endif %} {% if not ibexa_field_is_empty( content, 'survey_relation' ) %} {{ include('@ibexadesign/survey/landingpages.html.twig') }} {% endif %} {% if not ibexa_field_is_empty( content, 'download' ) %}

Download

{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'download').destinationContentId, 'viewType': 'line', 'noLayout': 1, "params": {"inDossier": true}} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'faqs_image_relation' ) %}

{{ ibexa_field_value(content, 'faq_titel') }}

{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content,"faqs_image_relation").destinationContentId, 'viewType': 'embed', 'minimalLayout': true, 'params': {'minimalMarkup':true,'alias': 'full_width'}} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'grey_article_left_2' ) and not ibexa_field_is_empty( content, 'grey_article_right_2' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value( content, 'grey_article_left_2' ).destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": false, "readmore": false, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value( content, 'grey_article_right_2' ).destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": false,"readmore": false, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'dossier_teaser_left' ) and not ibexa_field_is_empty( content, 'dossier_teaser_right' ) %}
{{ ibexa_render_field( content, 'dossier_teaser_left', {"template": _self} ) }}
{{ ibexa_render_field( content, 'dossier_teaser_right', {"template": _self} ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'related_items' ) %}

{{ ibexa_field_value(content, 'related_items_titel') }}

{% for contentId in ibexa_field_value( content, 'related_items' ).destinationContentIds %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': contentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": true, "hideImage": false, "colWidth": 12, "equalHeight": false }} ) ) }}
{% endfor %}
{% endif %}
{% endblock %} {% block ezobjectrelation_field %} {% apply spaceless %} {% if not ibexa_field_is_empty( content, field ) %} {% if isValidContentId(field.value.destinationContentId) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': field.value.destinationContentId, 'viewType': 'teaser', 'noLayout': 1, "params": { "dossierDesign": true}} ) ) }} {% endif %} {% endif %} {% endapply %} {% endblock %} {% block ezobjectrelationlist_field %} {% if not ibexa_field_is_empty( content, field ) %} {% if field.value.destinationContentIds|length > 1 %} {% endif %} {% if field.value.destinationContentIds|length > 1 %} Zurück Vor {% endif %} {% endif %} {% endblock %}