From f609144a84f292ad78c53620df6ad8440e0c0d19 Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Mon, 16 Mar 2026 13:21:12 +0100 Subject: [PATCH] feat(event_page.html): add check if event is in the past --- home/templates/home/event_page.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/templates/home/event_page.html b/home/templates/home/event_page.html index abea851..07ec2c4 100644 --- a/home/templates/home/event_page.html +++ b/home/templates/home/event_page.html @@ -43,6 +43,10 @@

{% trans "This event is fully booked. Please check back later for any cancellations." %}

+ {% elif page.start < now %} +
+

{% trans "This event has already ended. Please check our calendar for upcoming events." %}

+
{% else %}

{% trans "You are not signed up for this event. Please sign up to reserve your spot." %}