feat: move tour link and thumbnail to product entity
addresses #8697w9zwr
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user