From c3e110333164945ce48fbfa21ae5d2fc59c123c3 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Tue, 7 Nov 2023 15:20:54 +0100 Subject: [PATCH] Review live event title status --- templates/live_event.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/live_event.html b/templates/live_event.html index 8fec44b..ce9f587 100644 --- a/templates/live_event.html +++ b/templates/live_event.html @@ -58,14 +58,15 @@ class="prose-cite:text-sm prose mb-6 max-w-full leading-5 dark:prose-invert prose-headings:font-light prose-p:m-0 prose-p:mb-2 prose-blockquote:mx-0 prose-blockquote:my-8 prose-blockquote:border-l-05rem prose-blockquote:border-solid prose-blockquote:border-l-gray-100 prose-blockquote:py-2 prose-blockquote:pl-4 prose-blockquote:pr-0 prose-ol:m-0 prose-ol:p-0 prose-ol:pl-4 prose-ul:m-0 prose-ul:p-0 prose-ul:pl-4 prose-li:mb-2 dark:prose-blockquote:border-l-zinc-800 sm:prose-a:text-justify" >

- {{.LiveEvent.Title}} {{ if (eq "ended" .LiveEvent.Status)}} + {{.LiveEvent.Title}}{{ if (eq "ended" + .LiveEvent.Status)}} Ended {{ else if (eq "live" .LiveEvent.Status)}} Live now! {{ end }}