Skip to content
Snippets Groups Projects
Commit a9592824 authored by Nadja Geisler's avatar Nadja Geisler :sunny:
Browse files

Merge branch 'fc-fix-locale' into 'main'

Reintroduce locale setting for fullcalendar views

See merge request !85
parents d06f2570 e4b213f7
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@
// Adapt to timezone of the connected event
timeZone: '{{ ak.event.timezone }}',
initialView: 'timeGrid',
// Adapt to user selected locale
locale: '{{ LANGUAGE_CODE }}',
// No header, not buttons
headerToolbar: false,
aspectRatio: 2.5,
......
......@@ -18,6 +18,8 @@
// Adapt to timezone of the connected event
timeZone: '{{ event.timezone }}',
initialView: 'timeGrid',
// Adapt to user selected locale
locale: '{{ LANGUAGE_CODE }}',
// No header, not buttons
headerToolbar: {
left: '',
......
......@@ -22,6 +22,8 @@
right: 'resourceTimelineDay,resourceTimelineEvent'
},
themeSystem: 'bootstrap',
// Adapt to user selected locale
locale: '{{ LANGUAGE_CODE }}',
initialView: 'resourceTimelineEvent',
views: {
resourceTimelineDay: {
......
......@@ -29,6 +29,8 @@
timeZone: '{{ event.timezone }}',
headerToolbar: false,
themeSystem: 'bootstrap',
// Adapt to user selected locale
locale: '{{ LANGUAGE_CODE }}',
slotDuration: '01:00',
initialView: 'resourceTimeline',
visibleRange: {
......
......@@ -78,6 +78,8 @@
},
//aspectRatio: 2,
themeSystem: 'bootstrap',
// Adapt to user selected locale
locale: '{{ LANGUAGE_CODE }}',
initialView: 'resourceTimelineEventVert',
views: {
resourceTimelineDayHoriz: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment