Add contact form button to detail page

This commit is contained in:
Björn Fromme
2022-03-09 15:54:30 +01:00
parent 16025aa139
commit b65b20b25e
2 changed files with 8 additions and 8 deletions
@@ -15,6 +15,13 @@
</f:else>
</f:if>
{hotel.description -> f:format.html()}
<f:if condition="{hotel.groupsPriceConfigs}">
<f:else>
<f:link.typolink class="button" parameter="{settings.groupsContactFormPageUid}" additionalParams="&ref={currentPageUid}">
<f:translate key="tx_eptheme.label.to_inquiry_form" extensionName="ep_theme"/>
</f:link.typolink>
</f:else>
</f:if>
</div>
<f:if condition="{teasers}">
<f:then>
@@ -174,7 +174,7 @@
<div class="mb-4{f:if(condition: settings.hotelOnTop, else: ' hidden')}"
data-tabs-target="tab"
data-tab="hotel">
<f:render partial="Hotel/Details" arguments="{hotel: hotel, bars: 1, showNonBookableHint: 0}"/>
<f:render partial="Hotel/Details" arguments="{hotel: hotel, bars: 1, showNonBookableHint: 0, currentPageUid: currentPageUid}"/>
</div>
</f:section>
@@ -323,13 +323,6 @@
</div>
</div>
</div>
<f:if condition="{hotel.groupsPriceConfigs}">
<f:else>
<f:link.typolink class="button button--full" parameter="{settings.groupsContactFormPageUid}" additionalParams="&ref={currentPageUid}">
<f:translate key="tx_eptheme.label.to_inquiry_form" extensionName="ep_theme"/>
</f:link.typolink>
</f:else>
</f:if>
</f:if>
</f:section>