Organizer index: Fix incorrect display of sold-out events

This commit is contained in:
Raphael Michel
2023-01-26 15:05:59 +01:00
parent ce79647289
commit 0eba0f5e3e

View File

@@ -88,9 +88,9 @@
<span class="label label-warning">{% trans "Reserved" %}</span>
{% elif e.best_availability_state < 20 %}
{% if e.has_paid_item %}
<span class="fa fa-ticket" aria-hidden="true"></span> {% trans "Sold out" %}
<span class="label label-danger">{% trans "Sold out" %}</span>
{% else %}
<span class="fa fa-ticket" aria-hidden="true"></span> {% trans "Fully booked" %}
<span class="label label-danger">{% trans "Fully booked" %}</span>
{% endif %}
{% endif %}
{% elif e.presale_is_running %}