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/partials/eventList.handlebars | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 views/partials/eventList.handlebars (limited to 'views/partials') diff --git a/views/partials/eventList.handlebars b/views/partials/eventList.handlebars new file mode 100644 index 0000000..6c8e7a4 --- /dev/null +++ b/views/partials/eventList.handlebars @@ -0,0 +1,22 @@ +
+{{#if this}} + {{#each this}} +
+
{{this.title}}
+
+ {{#each this.events}} + + + {{this.name}} + {{#if this.location}} {{this.location}}{{/if}} + {{this.displayDate}} + {{#if this.eventGroup}} + {{this.eventGroup.name}} + {{/if}} + + {{/each}} + {{/each}} +{{else}} +
No events!
+{{/if}} +
-- cgit v1.2.3