Fix teaser link arguments
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<f:section name="TeaserImage">
|
<f:section name="TeaserImage">
|
||||||
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
|
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
|
||||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo)}{f:if(condition: referringPageUri, then: '?ref={referringPageUri -> f:format.urlencode()}')}"
|
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, slug: slug)}{f:if(condition: referringPageUri, then: '?ref={referringPageUri -> f:format.urlencode()}')}"
|
||||||
title="{region.name} {product.name} Details und Buchen">
|
title="{region.name} {product.name} Details und Buchen">
|
||||||
<f:if condition="{productImage}">
|
<f:if condition="{productImage}">
|
||||||
<f:then>
|
<f:then>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
</f:section>
|
</f:section>
|
||||||
|
|
||||||
<f:section name="TeaserContent">
|
<f:section name="TeaserContent">
|
||||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo)}{f:if(condition: referringPageUri, then: '?ref={referringPageUri -> f:format.urlencode()}')}"
|
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, slug: slug)}{f:if(condition: referringPageUri, then: '?ref={referringPageUri -> f:format.urlencode()}')}"
|
||||||
title="{region.name} {product.name} Details und Buchen"
|
title="{region.name} {product.name} Details und Buchen"
|
||||||
class="flex-1 flex flex-col space-y-1 px-2 py-4 md:p-4">
|
class="flex-1 flex flex-col space-y-1 px-2 py-4 md:p-4">
|
||||||
<div class="product-teaser__label-name">
|
<div class="product-teaser__label-name">
|
||||||
|
|||||||
+2
-1
@@ -18,9 +18,10 @@
|
|||||||
minPrice: teaser.minPrice,
|
minPrice: teaser.minPrice,
|
||||||
daytrip: teaser.daytrip,
|
daytrip: teaser.daytrip,
|
||||||
season: teaser.season,
|
season: teaser.season,
|
||||||
forceHotelUid: teaser.hotel,
|
forceHotelUid: teaser.forceHotelUid,
|
||||||
dateFrom: dateFrom,
|
dateFrom: dateFrom,
|
||||||
dateTo: dateTo,
|
dateTo: dateTo,
|
||||||
|
slug: teaser.product.slug,
|
||||||
landscape: '{f:if(condition: \'{data.layout} == 2 || {data.layout} == 3\', then: 1, else: 0)}'
|
landscape: '{f:if(condition: \'{data.layout} == 2 || {data.layout} == 3\', then: 1, else: 0)}'
|
||||||
}"/>
|
}"/>
|
||||||
</f:if>
|
</f:if>
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
concept: product.concept,
|
concept: product.concept,
|
||||||
hotel: item.hotel,
|
hotel: item.hotel,
|
||||||
product: product,
|
product: product,
|
||||||
|
slug: product.slug,
|
||||||
country: product.country,
|
country: product.country,
|
||||||
region: product.region,
|
region: product.region,
|
||||||
productImage: item.hotel.images.original.0,
|
productImage: item.hotel.images.original.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user