manager: mark full events on settings page like on view page (#44657)

This commit is contained in:
Frédéric Péters 2020-07-03 10:04:58 +02:00
parent f1d67da603
commit 4786270f5b
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<ul class="objects-list single-links">
{% for event in events %}
<li class="{% if event.booked_places_count > event.places %}overbooking{% endif %}
{% if event.full %}full{% endif %}
{% if event.main_list_full %}full{% endif %}
{% if not event.in_bookable_period %}not-{% endif %}bookable"
{% if event.places %}
data-total="{{event.places}}" data-booked="{{event.booked_places_count}}"
@ -24,7 +24,7 @@
data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list_count}}"
{% endif %}
><a rel="popup" href="{% url 'chrono-manager-event-edit' pk=agenda.id event_pk=event.id %}?next=settings">
{% if event.full %}<span class="full tag">{% trans "Full" %}</span>{% endif %}
{% if event.main_list_full %}<span class="full tag">{% trans "Full" %}</span>{% endif %}
{% if event.label %}{{event.label}} {% endif %}[{% trans "identifier:" %} {{ event.slug }}]
{{ event.start_datetime }}
(