Show calculator button only if available
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<div class="ep-headbar">Konzept</div>
|
<div class="ep-headbar">Konzept</div>
|
||||||
<f:if condition="{product.calendarHotel}">
|
<f:if condition="{product.calendarHotel} && {hotel.groupsPriceConfigs}">
|
||||||
<a class="button button--full" data-fancybox data-type="iframe" href="{f:uri.action(action: 'index', controller: 'GroupsPrice', arguments: '{hotel: hotel}', pageUid: settings.groupsPricePopupPageUid)}">
|
<a class="button button--full" data-fancybox data-type="iframe" href="{f:uri.action(action: 'index', controller: 'GroupsPrice', arguments: '{hotel: hotel}', pageUid: settings.groupsPricePopupPageUid)}">
|
||||||
Preisberechnung
|
Preisberechnung
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -248,9 +248,11 @@
|
|||||||
|
|
||||||
<f:section name="Calendar">
|
<f:section name="Calendar">
|
||||||
<f:if condition="{product.calendarHotel}">
|
<f:if condition="{product.calendarHotel}">
|
||||||
<a class="button button--full" data-fancybox data-type="iframe" href="{f:uri.action(action: 'index', controller: 'GroupsPrice', arguments: '{hotel: hotel}', pageUid: settings.groupsPricePopupPageUid)}">
|
<f:if condition="{hotel.groupsPriceConfigs}">
|
||||||
Preisberechnung
|
<a class="button button--full" data-fancybox data-type="iframe" href="{f:uri.action(action: 'index', controller: 'GroupsPrice', arguments: '{hotel: hotel}', pageUid: settings.groupsPricePopupPageUid)}">
|
||||||
</a>
|
Preisberechnung
|
||||||
|
</a>
|
||||||
|
</f:if>
|
||||||
<div class="ep-sidebar ep-facts">
|
<div class="ep-sidebar ep-facts">
|
||||||
<p><strong>Belegungskalender</strong></p>
|
<p><strong>Belegungskalender</strong></p>
|
||||||
<calendar
|
<calendar
|
||||||
|
|||||||
Reference in New Issue
Block a user