Site Configuration by Server Params (confsites and confpages)

This commit is contained in:
Surya Paolo
2022-11-28 14:00:15 +01:00
parent fab0dbbb72
commit 58dc1dfdcc
76 changed files with 2504 additions and 5004 deletions

View File

@@ -109,7 +109,7 @@
</q-card-section>
<q-card-actions align="right">
<q-btn
rounded v-if="!myevent.nobookable && static_data.functionality.BOOKING_EVENTS"
rounded v-if="!myevent.nobookable && site.confpages.bookingEvents"
color="primary" @click="addBookEventMenu(myevent)" :disable="!isEventEnabled(myevent)"
:label="$t('cal.booking')">
</q-btn>
@@ -887,13 +887,13 @@
:label="$t('event.askinfo')">
</q-btn>
<!--<q-btn rounded outline class="q-ma-sm"
v-if="!event.nobookable && !isAlreadyBooked(event) && static_data.functionality.BOOKING_EVENTS"
v-if="!event.nobookable && !isAlreadyBooked(event) && site.confpages.bookingEvents"
color="primary" @click="addBookEventMenu(event)"
:label="$t('cal.booking')" :disable="!isEventEnabled(event)">
</q-btn>-->
<q-btn
rounded outline class="q-ma-sm"
v-if="!event.nobookable && isAlreadyBooked(event) && static_data.functionality.BOOKING_EVENTS"
v-if="!event.nobookable && isAlreadyBooked(event) && site.confpages.bookingEvents"
text-color="red"
@click="EditBookEvent(event)"
:label="$t('cal.modifybooking')">