From 442a595aa4b0890d4cacdb8e8e94afc4bd9d89ce Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Mon, 1 May 2023 21:52:43 +1000 Subject: [PATCH] Improve styling of year view --- templates/partials/page/calendar.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/partials/page/calendar.html b/templates/partials/page/calendar.html index 70974ce..466f851 100644 --- a/templates/partials/page/calendar.html +++ b/templates/partials/page/calendar.html @@ -121,16 +121,16 @@ {% elif selected_view == 'year'%} -
+
-
+
{% for i in range(12) %} {% set date = start_date + relativedelta(months=i) %} {% set first_day_of_month = date.replace(day=1) %} {% set last_day_of_month = date + relativedelta(day=31) %} {% set (first_day, last_day) = first_and_last_visible_days_in_month(first_day_of_month, last_day_of_month) %} -
+
{{