added soon option

This commit is contained in:
2023-02-23 14:20:57 +10:00
parent 66e2783d97
commit 4261a35ca7
2 changed files with 10 additions and 3 deletions

View File

@@ -25,12 +25,17 @@
}).isBefore()) }).isBefore())
" "
class="workshop-registration workshop-registration-closed"> class="workshop-registration workshop-registration-closed">
Registration for this event has closed Registration for this event has closed.
</div>
<div
v-if="event.status == 'soon'"
class="workshop-registration workshop-registration-soon">
Registration for this event will open soon.
</div> </div>
<div <div
v-if="event.status == 'cancelled'" v-if="event.status == 'cancelled'"
class="workshop-registration workshop-registration-cancelled"> class="workshop-registration workshop-registration-cancelled">
This event has been cancelled This event has been cancelled.
</div> </div>
<div <div
v-if=" v-if="
@@ -300,7 +305,8 @@ handleLoad();
} }
} }
.workshop-registration-none { .workshop-registration-none,
.workshop-registration-soon {
border: 1px solid #ffeeba; border: 1px solid #ffeeba;
background-color: #fff3cd; background-color: #fff3cd;
color: #856404; color: #856404;

View File

@@ -45,6 +45,7 @@
control="status" control="status"
:options="{ :options="{
draft: 'Draft', draft: 'Draft',
soon: 'Opening Soon',
open: 'Open', open: 'Open',
closed: 'Closed', closed: 'Closed',
cancelled: 'Cancelled', cancelled: 'Cancelled',