feat: link prices to hotel detail pages in favour of booking
This commit is contained in:
+4
-6
@@ -58,13 +58,11 @@
|
|||||||
<td class="px-2 py-1 border border-zinc-200">
|
<td class="px-2 py-1 border border-zinc-200">
|
||||||
<f:if condition="{row.rooms.{type}.available}">
|
<f:if condition="{row.rooms.{type}.available}">
|
||||||
<f:then>
|
<f:then>
|
||||||
<a class="{ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}"
|
<f:link.typolink
|
||||||
data-controller="datalayer" data-datalayer-event-value="ZurBuchung" data-action="datalayer#trigger"
|
parameter="{row.hotelUri}"
|
||||||
href="{row.bookingUrl}"
|
class="{ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
|
||||||
title="Jetzt buchen"
|
|
||||||
target="_blank">
|
|
||||||
{row.rooms.{type}.price}
|
{row.rooms.{type}.price}
|
||||||
</a>
|
</f:link.typolink>
|
||||||
</f:then>
|
</f:then>
|
||||||
<f:else>
|
<f:else>
|
||||||
<f:if condition="{row.rooms.{type}.available}">
|
<f:if condition="{row.rooms.{type}.available}">
|
||||||
|
|||||||
Reference in New Issue
Block a user