feat: move tour link and thumbnail to product entity

addresses #8697w9zwr
This commit is contained in:
Björn Fromme
2025-03-24 16:08:36 +01:00
parent c3cd1dc872
commit 2afed48aba
6 changed files with 92 additions and 89 deletions
@@ -210,18 +210,18 @@
<f:section name="Sidebar">
<f:render section="SidebarGallery" arguments="{_all}"/>
<f:render section="Calendar" arguments="{_all}"/>
<f:if condition="{hotel.tourLink}">
<f:if condition="{product.tourLink}">
<div class="bg-zinc-50 p-4 mb-4"
data-controller="lightbox">
<p class="font-bold mb-2">
360°-Rundgang
</p>
<a href="{hotel.tourLink}"
<a href="{product.tourLink}"
target="_blank"
title="360°-Rundgang {hotel.name}">
<f:if condition="{hotel.tourThumbnail}">
<f:if condition="{product.tourThumbnail}">
<f:then>
<ep:lazyLoadImage image="{hotel.tourThumbnail}"
<ep:lazyLoadImage image="{product.tourThumbnail}"
loaderimg="EXT:ep_theme/Resources/Public/images/lazy.png"
class="block w-full h-auto"
width="330"