From 086578d3b8c7b234548d9c25b683f639e5915bf8 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sat, 19 Aug 2017 20:44:07 +0200 Subject: [PATCH] show on event list when and if it has any instances --- src/program/templates/event_list.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/program/templates/event_list.html b/src/program/templates/event_list.html index c3ffac7a..e1d53a74 100644 --- a/src/program/templates/event_list.html +++ b/src/program/templates/event_list.html @@ -13,6 +13,7 @@ Type Title Speakers + Scheduled @@ -34,6 +35,13 @@ N/A {% endfor %} + + {% for instance in event.instances.all %} + {{ instance.when.lower }}
+ {% empty %} + No instances scheduled yet + {% endfor %} + {% endif %} {% endfor %}