From 81f6d457b5c519187a093dbcac379f7455f23729 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 28 Dec 2023 20:14:03 +0000 Subject: [PATCH] Show end dates or duration in event list Closes: #85 --- templates/index.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index b412ca7..c353f16 100644 --- a/templates/index.html +++ b/templates/index.html @@ -160,7 +160,7 @@ {% else %} {% set cell_bg = " bg-warning-subtle" if delta == "today" else "" %}
-
+
{{event.as_date.strftime("%a, %d, %b")}}     @@ -170,7 +170,13 @@ {{event.display_timezone or ""}}
-
+
+ {% if event.end_date and event.end_as_date != event.as_date %} + {{event.end_date}} + {% endif %} +
+ +