wip: finalize offer layout

This commit is contained in:
Björn Fromme committed 2026-07-17 12:16:33 +02:00
1 parent e7bfb19ac9
commit a1751f699b
20 files changed
+487 -541

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@
{# Accommodation info #}
{% set hasImage = ctx.hotelCmsData is not null
and ctx.hotelCmsData.images is defined
and ctx.hotelCmsData.images is not null
and ctx.hotelCmsData.images.resized is defined
and ctx.hotelCmsData.images.resized.l is defined
and ctx.hotelCmsData.images.resized.l[0] is defined %}
@@ -46,7 +46,7 @@
{% endif %}
<div class="{{ hasImage ? 'col-span-2' : 'col-span-3' }}">
<span class="block font-semibold">{{ ctx.accommodation.name }}</span>
{% if ctx.hotelCmsData is not null and ctx.hotelCmsData.address is defined %}
{% if ctx.hotelCmsData is not null and ctx.hotelCmsData.address is not null %}
<div class="text-sm text-gray-500 mt-1">{{ ctx.hotelCmsData.address|nl2br }}</div>
{% endif %}
</div>