From e105c611be287ce034ab4b6c82a6d245d16b4921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 19 Aug 2026 15:39:58 +0200 Subject: [PATCH] feat: flip region and additional info in accommodation offer view --- templates/groups/booking/offer.html.twig | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/groups/booking/offer.html.twig b/templates/groups/booking/offer.html.twig index 53350e1..9e6b2da 100644 --- a/templates/groups/booking/offer.html.twig +++ b/templates/groups/booking/offer.html.twig @@ -165,6 +165,18 @@ {{ macros.imageGallery(ctx.hotelCmsData.images.resized.l, ctx.hotelCmsData.images.resized.m, ctx.accommodation.name) }} {% endif %} + {# additional information #} + {% if ctx.hotelCmsData is not null and ctx.hotelCmsData.additionalInformation|striptags|trim is not empty %} + {% embed '_partials/_collapsible.html.twig' with { + heading: 'Zusatzinformationen', + id: 'additional-information', + } %} + {% block body %} + {{ ctx.hotelCmsData.additionalInformation | raw }} + {% endblock %} + {% endembed %} + {% endif %} + {# region description #} {% if ctx.hotelCmsData is not null and ctx.hotelCmsData.region is not null %} {% set region = ctx.hotelCmsData.region %} @@ -212,18 +224,6 @@ {{ macros.imageGallery(region.images.resized.l ?? [], region.images.resized.m ?? [], region.name) }} {% endif %} - {# additional information #} - {% if ctx.hotelCmsData is not null and ctx.hotelCmsData.additionalInformation|striptags|trim is not empty %} - {% embed '_partials/_collapsible.html.twig' with { - heading: 'Zusatzinformationen', - id: 'additional-information', - } %} - {% block body %} - {{ ctx.hotelCmsData.additionalInformation | raw }} - {% endblock %} - {% endembed %} - {% endif %} -