Fix another wrong waiting_list_active reference

This commit is contained in:
Raphael Michel
2024-09-18 10:28:41 +02:00
parent 14cbe99667
commit 8ed0d36346

View File

@@ -31,7 +31,7 @@
<span class="label label-success">{% trans "Book now" %}</span>
{% endif %}
{% endif %}
{% elif event.waiting_list_active and subev.best_availability_state >= 0 %}
{% elif subev.waiting_list_active and subev.best_availability_state >= 0 %}
<span class="label label-warning">{% trans "Waiting list" %}</span>
{% elif subev.best_availability_state == 20 %}
<span class="label label-danger">{% trans "Reserved" %}</span>