From 2be06712a8e258d2ee2b7b910af7fbc6150a3c34 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 27 May 2024 09:56:57 +0100 Subject: Improve event lists --- views/publicEventList.handlebars | 41 +++++----------------------------------- 1 file changed, 5 insertions(+), 36 deletions(-) (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars index 8dccaaa..b8cacd0 100644 --- a/views/publicEventList.handlebars +++ b/views/publicEventList.handlebars @@ -21,44 +21,13 @@
-
Upcoming events
- +
Upcoming events
+ {{> eventList upcomingEvents }}
-
Past events
-
- {{#if pastEvents}} - {{#each pastEvents}} - - - {{this.name}} - {{this.displayDate}} - {{#if this.eventGroup}} - {{this.eventGroup.name}} - {{/if}} - - {{/each}} - {{else}} -
No events!
- {{/if}} -
+
Past events
+ {{> eventList pastEvents }}
@@ -79,4 +48,4 @@ {{/if}} - \ No newline at end of file + -- cgit v1.2.3