From c4e70840adf95de1b48ef0c883d9483470a4da93 Mon Sep 17 00:00:00 2001 From: Daru13 Date: Sun, 25 Nov 2018 16:08:43 +0100 Subject: [PATCH] Add a button to switch between calendar display modes. It switches between: * displaying all events; * only displaying events the user subscribed to. Note that the button has not been included in the calendar library/files (yet?). Its code should be moved somewhere else at a later time. --- event/templates/event/calendar.html | 55 ++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/event/templates/event/calendar.html b/event/templates/event/calendar.html index 73750a9..2e4a1dc 100644 --- a/event/templates/event/calendar.html +++ b/event/templates/event/calendar.html @@ -5,6 +5,22 @@ {{ block.super }} + + {% endblock %} {% block extra_js %} @@ -14,7 +30,7 @@ {% endblock %}