From e076578366b641920d92b2adc14dddab44ccce93 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 1 Nov 2023 15:25:46 +0000 Subject: [PATCH] Add hover text for titles in calendar view Closes: #41 --- templates/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e9497d4..20345a1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,12 +36,17 @@ center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek' }, + nowIndicator: true, + weekNumbers: true, eventTimeFormat: { hour: '2-digit', minute: '2-digit', hour12: false, }, - events: {{ fullcalendar_events | tojson(indent=2) }} + events: {{ fullcalendar_events | tojson(indent=2) }}, + eventDidMount: function(info) { + info.el.title = info.event.title; + }, }) calendar.render() })