Calendar: Show fully booked instead of sold out for free events

This commit is contained in:
Raphael Michel
2020-09-24 10:51:41 +02:00
parent 787e7ec993
commit 035c707427
7 changed files with 38 additions and 10 deletions

View File

@@ -108,7 +108,11 @@
{% elif e.best_availability_state == 20 %}
<span class="label label-warning">{% trans "Reserved" %}</span>
{% elif e.best_availability_state < 20 %}
<span class="label label-danger">{% trans "Sold out" %}</span>
{% if e.has_paid_item %}
<span class="fa fa-ticket"></span> {% trans "Sold out" %}
{% else %}
<span class="fa fa-ticket"></span> {% trans "Fully booked" %}
{% endif %}
{% endif %}
{% elif e.presale_is_running %}
<span class="label label-success">{% trans "Book now" %}</span>