Fix booking link not being hidden
This commit is contained in:
@@ -36,12 +36,17 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(row, index) of priceTableRows">
|
<tr v-for="(row, index) of priceTableRows">
|
||||||
<td style="white-space: normal">
|
<td style="white-space: normal">
|
||||||
<a class="pricetable__room-label"
|
<template v-if="row.isHideBookingButton || !row.roomAvailable">
|
||||||
:href="row.bookingUrl" target="_blank">{{ row.roomName }}</a>
|
{{ row.roomName }}
|
||||||
<div class="hidden-lg" v-if="row.roomAvailable && !row.isHideBookingButton">
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<a class="pricetable__room-label"
|
||||||
|
:href="row.bookingUrl" target="_blank">{{ row.roomName }}</a>
|
||||||
|
<div class="hidden-lg">
|
||||||
<a class="button button--small button--action"
|
<a class="button button--small button--action"
|
||||||
:href="row.bookingUrl" target="_blank">Jetzt buchen</a>
|
:href="row.bookingUrl" target="_blank">Jetzt buchen</a>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
<div class="hidden-lg" v-if="!row.roomAvailable">
|
<div class="hidden-lg" v-if="!row.roomAvailable">
|
||||||
<span class="label label-default">ausgebucht</span>
|
<span class="label label-default">ausgebucht</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user