diff --git a/components/TableScheduleEvents.vue b/components/TableScheduleEvents.vue
index 3377ae1..7555bf3 100644
--- a/components/TableScheduleEvents.vue
+++ b/components/TableScheduleEvents.vue
@@ -39,11 +39,11 @@
>
-
+ />
|
|
-
+ />
|
{{ event.id }} |
{{ event.name }} |
{{ event.host }} |
- {{ event.description }} |
+ {{ event.description }} |
{{ event.crew ? "" : "Yes"}} |
{{ event.slots.size ? event.slots.size : "" }} |
diff --git a/components/TableScheduleLocations.vue b/components/TableScheduleLocations.vue
index dc08ac9..d4053f6 100644
--- a/components/TableScheduleLocations.vue
+++ b/components/TableScheduleLocations.vue
@@ -28,10 +28,10 @@
>
-
+ />
|
|
{{ shift.slots.size ? shift.slots.size : "" }} |
-
+ />
|
|
-
+ />
|
{{ shift.name }} |
{{ shift.roleId }} |
{{ shift.slots.size ? shift.slots.size : "" }} |
- {{ shift.description }} |
+ {{ shift.description }} |
diff --git a/server/generate-demo-schedule.ts b/server/generate-demo-schedule.ts
index 101b710..dd32003 100644
--- a/server/generate-demo-schedule.ts
+++ b/server/generate-demo-schedule.ts
@@ -9,7 +9,7 @@ const locations = [
{
id: 1,
name: "Stage",
- description: "Inside the main building.",
+ description: "Inside the main building.\n\nMind the gap.",
updatedAt: "d-1 18:21",
},
{
@@ -43,7 +43,7 @@ let eventId = 1;
const events = [
{
name: "Arcade",
- description: "Play retro games!",
+ description: "Play retro games!\n\nWe have anything from C64 to PS5.",
slots: [
"d1 12:00 4h clubhouse",
"d2 12:00 4h clubhouse",
@@ -158,13 +158,14 @@ const events = [
const idMedic = 1;
const idSecurity = 2;
const roles = [
- { id: idMedic, name: "Medic", updatedAt: "d-2 12:34" },
- { id: idSecurity, name: "Security", updatedAt: "d-2 12:39" },
+ { id: idMedic, name: "Medic", description: "Helping those in need.\n\nAsk lead if in doubt.", updatedAt: "d-2 12:34" },
+ { id: idSecurity, name: "Security", description: "Keeping the con safe", updatedAt: "d-2 12:39" },
]
const shifts = [
{
name: "Medic Early",
+ description: "Not much happens early.\n\nPrefer strolling outside to be visible.",
roleId: idMedic,
slots: [
"d1 12:00 4h",
@@ -357,16 +358,18 @@ export function generateDemoSchedule(): ApiSchedule {
})
),
roles: roles.map(
- ({ id, name, updatedAt }) => ({
+ ({ id, name, description, updatedAt }) => ({
id,
name,
+ description,
updatedAt: toIso(toDate(origin, ...(updatedAt.split(" ")) as [string, string])),
})
),
shifts: shifts.map(
- ({ id, name, roleId, slots }) => ({
+ ({ id, name, description, roleId, slots }) => ({
id,
name,
+ description,
roleId,
slots: slots.map(shorthand => toShift(origin, shorthand, shiftSlotIdToAssigned)),
updatedAt: toIso(toDate(origin, "d-1", "13:23")),
|