aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courseplanning/weekday.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/courseplanning/weekday.php')
-rw-r--r--app/views/admin/courseplanning/weekday.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/courseplanning/weekday.php b/app/views/admin/courseplanning/weekday.php
index 4ff6f21..a368982 100644
--- a/app/views/admin/courseplanning/weekday.php
+++ b/app/views/admin/courseplanning/weekday.php
@@ -25,16 +25,16 @@ $max_time = Config::get()->INSTITUTE_COURSE_PLAN_END_HOUR . ':00';
'maxTime' => $max_time,
'allDaySlot' => false,
'nowIndicator' => false,
- 'header' => [
- 'left' => '',
- 'right' => ''
+ 'headerToolbar' => [
+ 'start' => '',
+ 'end' => ''
],
'slotDuration' => '01:00:00',
'slotLabelInterval' => '01:00',
'slotLabelFormat' => ['hour' => '2-digit', 'minute' => '2-digit'],
'timeZone' => 'UTC',
'defaultDate' => $cal_date->format('Y-m-d'),
- 'defaultView' => 'resourceTimeGridDay',
+ 'defaultView' => \Studip\Fullcalendar::GROUP_DAY,
'eventSources' => [compact('events')],
'slotEventOverlap' => false,
'displayEventTime' => false,