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