aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/institute
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2026-01-16 09:36:16 +0000
committerMoritz Strohm <strohm@data-quest.de>2026-01-16 09:36:16 +0000
commitb58142fe5fa1ba1a99d850baa1465df6fa6e0d3b (patch)
treed73956252dc17dd054d0db8e0f167a4103b7ba83 /app/controllers/institute
parentc3e07e221b0bef64d3ad4da48c6371c75ca12cc3 (diff)
updated Fullcalendar to version 6, closes #4887
Closes #4887 Merge request studip/studip!4438
Diffstat (limited to 'app/controllers/institute')
-rw-r--r--app/controllers/institute/schedule.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/controllers/institute/schedule.php b/app/controllers/institute/schedule.php
index 1c5d091..931bdb4 100644
--- a/app/controllers/institute/schedule.php
+++ b/app/controllers/institute/schedule.php
@@ -50,19 +50,19 @@ class Institute_ScheduleController extends AuthenticatedController
'minTime' => '08:00',
'maxTime' => '20:00',
'allDaySlot' => false,
- 'header' => [
- 'left' => '',
- 'right' => ''
+ 'headerToolbar' => [
+ 'start' => '',
+ 'end' => ''
],
'views' => [
- 'timeGridWeek' => [
- 'columnHeaderFormat' => ['weekday' => 'long'],
+ \Studip\Fullcalendar::VIEW_WEEK => [
+ 'dayHeaderFormat' => ['weekday' => 'long'],
'weekends' => $calendar_settings['type_week'] === 'LONG',
'slotDuration' => $week_slot_duration
]
],
- 'defaultView' => 'timeGridWeek',
- 'defaultDate' => date('Y-m-d'),
+ 'initialView' => \Studip\Fullcalendar::VIEW_WEEK,
+ 'initialDate' => date('Y-m-d'),
'timeGridEventMinHeight' => 20,
'eventSources' => [
[