aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/css/cdav_calendar.css4
-rw-r--r--view/tpl/cdav_calendar.tpl10
2 files changed, 2 insertions, 12 deletions
diff --git a/view/css/cdav_calendar.css b/view/css/cdav_calendar.css
index 46a32bef7..8e1b31fa1 100644
--- a/view/css/cdav_calendar.css
+++ b/view/css/cdav_calendar.css
@@ -4,8 +4,8 @@
--fc-border-color: var(--bs-border-color) !important;
--fc-page-bg-color: var(--bs-tertiary-bg) !important;
--fc-list-event-hover-bg-color: var(--bs-tertiary-bg) !important;
- --fc-daygrid-event-dot-width: 1rem !important;
- --fc-list-event-dot-width: 1rem !important;
+ --fc-daygrid-event-dot-width: 1em !important;
+ --fc-list-event-dot-width: 1em !important;
}
.fc .fc-cell-shaded, .fc .fc-day-disabled {
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index e66953a5d..1eeab4478 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -14,9 +14,6 @@ var contact_deny = [];
var group_deny = [];
var resource = {{$resource}};
-var default_view = resource !== null ? 'timeGridDay' : 'dayGridMonth';
-var default_date = resource !== null ? new Date(resource.dtstart) : new Date();
-
var allday;
$(document).ready(function() {
@@ -36,9 +33,6 @@ $(document).ready(function() {
firstDay: {{$first_day}},
- defaultView: default_view,
- defaultDate: default_date,
-
weekNumbers: true,
navLinks: true,
@@ -52,10 +46,6 @@ $(document).ready(function() {
changeView('timeGridWeek');
},
- monthNames: aStr['monthNames'],
- monthNamesShort: aStr['monthNamesShort'],
- dayNames: aStr['dayNames'],
- dayNamesShort: aStr['dayNamesShort'],
allDayText: aStr['allday'],
snapDuration: '00:05:00',