From 8854848e59b79d4faf6b51733a469c1640380ce5 Mon Sep 17 00:00:00 2001 From: krzywon Date: Thu, 3 Jun 2021 10:58:15 -0400 Subject: [PATCH] Suppress 'Awaiting Confirmation' message on upcoming reservations if confirmation system disabled --- NEMO/templates/landing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEMO/templates/landing.html b/NEMO/templates/landing.html index 64f4b951..bbdee176 100644 --- a/NEMO/templates/landing.html +++ b/NEMO/templates/landing.html @@ -42,7 +42,7 @@

Upcoming reservations

{% elif device == 'mobile' and r.area %}{% endif %}
{% if r.title %}{{ r.title }}
{% endif %} - {% if r.start < now %}You're late for your {{ r.reservation_item }} reservation!{% else %}{{ r.reservation_item }}{% endif %}{% if not r.confirmed %} - Awaiting Confirmation {% endif %}
+ {% if r.start < now %}You're late for your {{ r.reservation_item }} reservation!{% else %}{{ r.reservation_item }}{% endif %}{% if use_confirmation_system and not r.confirmed %} - Awaiting Confirmation {% endif %}
Starting on {{ r.start|date:"l, F jS @ g:i A" }}
Ending on {{ r.end|date:"l, F jS @ g:i A" }}