aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-25 13:39:50 +0000
committerMario <mario@mariovavti.com>2023-01-25 13:39:50 +0000
commitddae3eaf849b13cf4ef86c48c5e75967582c3276 (patch)
treea9ff654f1176d2fe19766b07ff8f1e04ff2efab3 /view
parenta9ae17036d30a676c833a6ddb98409f19cbbd963 (diff)
downloadvolse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.tar.gz
volse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.tar.bz2
volse-hubzilla-ddae3eaf849b13cf4ef86c48c5e75967582c3276.zip
calendar: remove deprecated options
Diffstat (limited to 'view')
-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',