From 930542049e40a1a99c9a0c2c349519ccddf52140 Mon Sep 17 00:00:00 2001 From: lowercasename Date: Thu, 25 Jul 2019 16:16:04 +0100 Subject: First commit --- views/event.handlebars | 397 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 397 insertions(+) create mode 100755 views/event.handlebars (limited to 'views/event.handlebars') diff --git a/views/event.handlebars b/views/event.handlebars new file mode 100755 index 0000000..ab04987 --- /dev/null +++ b/views/event.handlebars @@ -0,0 +1,397 @@ +{{#if eventHasCoverImage}} +
+{{else}} +
+{{/if}} +
+
+

{{eventData.name}}

+
+ {{#if editingEnabled}} +
+
+ + +
+
+ {{/if}} +
+
+
+ +
+
+{{#if eventHasConcluded}} + +{{/if}} +{{#if firstLoad}} + +{{/if}} +
+
About
+
+ {{{parsedDescription}}} +
+
+ +{{#if eventData.usersCanAttend}} +
+
Attendees {{#if eventData.attendees}}({{eventData.attendees.length}}){{/if}}
+
+ {{#if eventData.attendees}} +
    + {{#each eventData.attendees}} +
  • {{this.name}}
  • + {{/each}} +
+ {{else}} +

No attendees yet!

+ {{/if}} +
+
+ + +{{/if}} + +{{#if eventData.usersCanComment}} +
+
Discussion
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ {{#if eventData.comments}} +
+
+ {{#each eventData.comments}} +
+
+
+

{{this.author}} {{this.timestamp}}

+

{{this.content}}

+ {{#if this.replies}} +
+
+ {{#each this.replies}} +

{{this.author}} {{this.timestamp}}

+

{{this.content}}

+ {{/each}} +
+ {{/if}} +
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+ {{/each}} +
+ {{/if}} +
+
+{{/if}} + +{{#if editingEnabled}} + + + + +{{/if}} + + + -- cgit v1.2.3