Fix booking link teaser

This commit is contained in:
Björn Fromme
2022-03-19 19:44:49 +01:00
parent 59f8290443
commit 6e741d88bd
@@ -6,25 +6,23 @@
<f:section name="Main"> <f:section name="Main">
<f:if condition="{teaser.dates}"> <f:if condition="{teaser.dates}">
<f:render partial="Product/Teaser" <f:render partial="Product/Teaser" section="Teaser" arguments="{
section="Teaser" concept: teaser.concept,
arguments="{ hotel: teaser.hotel,
concept: teaser.concept, product: teaser.product,
hotel: teaser.hotel, country: teaser.country,
product: teaser.product, region: teaser.region,
country: teaser.country, productImage: teaser.product.images.original.0,
region: teaser.region, nights: teaser.nights,
productImage: teaser.product.images.original.0, board: teaser.board,
nights: teaser.nights, minPrice: teaser.minPrice,
board: teaser.board, daytrip: teaser.daytrip,
minPrice: teaser.minPrice, season: teaser.season,
daytrip: teaser.daytrip, forceHotelUid: teaser.hotel,
season: teaser.season, dateFrom: dateFrom,
forceHotelUid: teaser.forceHotelUid, dateTo: dateTo,
dateFrom: dateFrom, landscape: '{f:if(condition: \'{data.layout} == 2 || {data.layout} == 3\', then: 1, else: 0)}'
dateTo: dateTo, }"/>
landscape: '{f:if(condition: \'{data.layout} == 2 || {data.layout} == 3\', then: 1, else: 0)}'
}"/>
</f:if> </f:if>
</f:section> </f:section>