From b3c9cba6478dc16d135313aa6d0adcc02d67ece6 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 25 Feb 2024 21:34:33 +0000 Subject: feat: optional public events/groups --- views/publicEventList.handlebars | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 views/publicEventList.handlebars (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars new file mode 100644 index 0000000..6d85ca7 --- /dev/null +++ b/views/publicEventList.handlebars @@ -0,0 +1,72 @@ +
+

{{siteName}}

+

{{siteName}} is an instance of Gathio, a simple, federated, privacy-first event hosting platform.

+ + +
+
+
Upcoming events
+ +
+ +
+
Past events
+
+ {{#if pastEvents}} + {{#each pastEvents}} + + + {{this.name}} + {{this.displayDate}} + {{#if this.eventGroup}} + In group: {{this.eventGroup.name}} + {{/if}} + + {{/each}} + {{else}} +
No events!
+ {{/if}} +
+
+
+ +
+
+
Event groups
+
+ {{#if eventGroups}} + {{#each eventGroups}} + + + {{this.name}} + + {{/each}} + {{else}} +
No groups!
+ {{/if}} +
+ +
\ No newline at end of file -- cgit v1.2.3 From 1eb794de5d121d090811919bc4addd63ea2fd321 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 26 Feb 2024 12:11:10 +0000 Subject: text/styling tweaks for public event list --- views/publicEventList.handlebars | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars index 6d85ca7..bceae58 100644 --- a/views/publicEventList.handlebars +++ b/views/publicEventList.handlebars @@ -1,17 +1,17 @@

{{siteName}}

-

{{siteName}} is an instance of Gathio, a simple, federated, privacy-first event hosting platform.

+

{{siteName}} runs on Gathio — a simple, federated, privacy-first event hosting platform.

-
+
Upcoming events
{{#if upcomingEvents}} @@ -32,7 +32,7 @@
-
+
Past events
{{#if pastEvents}} @@ -42,7 +42,7 @@ {{this.name}} {{this.displayDate}} {{#if this.eventGroup}} - In group: {{this.eventGroup.name}} + {{this.eventGroup.name}} {{/if}} {{/each}} @@ -54,7 +54,7 @@
-
+
Event groups
{{#if eventGroups}} @@ -62,6 +62,7 @@ {{this.name}} + {{this.numberOfEvents}} {{plural this.numberOfEvents "event(s)"}} {{/each}} {{else}} -- cgit v1.2.3