From 435beecb7c5dddef7e9385885e08488a3cad0d8c Mon Sep 17 00:00:00 2001 From: Ed Date: Tue, 17 Jan 2023 22:25:05 +0100 Subject: [PATCH] Bugfix reported by users --- tpl/blocks/payment.html | 2 +- tpl/blocks/room.html | 2 +- tpl/nosecount.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tpl/blocks/payment.html b/tpl/blocks/payment.html index 87396bb..2bf3b89 100644 --- a/tpl/blocks/payment.html +++ b/tpl/blocks/payment.html @@ -5,7 +5,7 @@

If you wish to change payment method, check payment instructions or complete a failed payment please access the payment area.

{% elif order.status == 'paid' %} -

✅ Your order has been completed and approved! See you at Furizon!

+

✅ Your order has been completed and approved! See you at furizon!

{% endif %} diff --git a/tpl/blocks/room.html b/tpl/blocks/room.html index 12b57a5..f5dac0f 100644 --- a/tpl/blocks/room.html +++ b/tpl/blocks/room.html @@ -3,7 +3,7 @@

Your room {% if room_members %}- {{room_members[0].ans('room_name')}}{% endif %}

{# Show alert if room owner has wrong people inside #} - {% if quota.get_left(len(room_members)) == 0 and (not order.room_confirmed) %} + {% if room_members and quota.get_left(len(room_members)) == 0 and (not order.room_confirmed) %}

⚠️ Your room contains {{len(room_members)}} people inside, but sadly there are no more {{[None,'single','double','triple','quadruple','quintuple'][len(room_members)]}} rooms. You need to add or remove people until you reach the size of an available room if you want to confirm it.

{% endif %} diff --git a/tpl/nosecount.html b/tpl/nosecount.html index 9b527cd..e1bed64 100644 --- a/tpl/nosecount.html +++ b/tpl/nosecount.html @@ -66,5 +66,5 @@ {% endif %} {% endfor %} - + {% endblock %}