Bugfix reported by users

This commit is contained in:
Ed 2023-01-17 22:25:05 +01:00
parent 8bc3b6547b
commit 435beecb7c
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<p>If you wish to <strong>change payment method, check payment instructions or complete a failed payment</strong> please access the payment area.</p> <p>If you wish to <strong>change payment method, check payment instructions or complete a failed payment</strong> please access the payment area.</p>
{% elif order.status == 'paid' %} {% elif order.status == 'paid' %}
<p class="notice" style="background:#050;">✅ Your order has been completed and approved! See you at Furizon!</p> <p class="notice" style="background:#050;">✅ Your order has been completed and approved! See you at furizon!</p>
{% endif %} {% endif %}
<table> <table>
<tr> <tr>

View File

@ -3,7 +3,7 @@
<h2>Your room {% if room_members %}- {{room_members[0].ans('room_name')}}{% endif %}</h2> <h2>Your room {% if room_members %}- {{room_members[0].ans('room_name')}}{% endif %}</h2>
{# Show alert if room owner has wrong people inside #} {# 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) %}
<p class="notice">⚠️ 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.</p> <p class="notice">⚠️ 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.</p>
{% endif %} {% endif %}

View File

@ -66,5 +66,5 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
</main>
{% endblock %} {% endblock %}