Add override for the event name in timetable

Add timetableName field to events that override which name is shown in
the timetable in order to allow using a custom condensed title in the
timetable for short events.
This commit is contained in:
Hornwitser 2025-09-12 19:23:34 +02:00
parent 732566a29c
commit 56791609f4
6 changed files with 38 additions and 3 deletions

View file

@ -21,10 +21,10 @@ function fixtureClientSchedule(multiSlot = false) {
const events = [
new ClientScheduleEvent(
1, now, false, "Up", false, "", false, "", "What's Up?", 0, new Set(multiSlot ? [1, 2] : [1]),
1, now, false, "Up", "", false, "", false, "", "What's Up?", 0, new Set(multiSlot ? [1, 2] : [1]),
),
new ClientScheduleEvent(
2, now, false, "Down", false, "", false, "", "", 0, new Set(multiSlot ? [] : [2]),
2, now, false, "Down", "", false, "", false, "", "", 0, new Set(multiSlot ? [] : [2]),
),
];
const eventSlots = idMap([