manager: mark full events on settings page like on view page (#44657)
This commit is contained in:
parent
f1d67da603
commit
4786270f5b
|
@ -16,7 +16,7 @@
|
||||||
<ul class="objects-list single-links">
|
<ul class="objects-list single-links">
|
||||||
{% for event in events %}
|
{% for event in events %}
|
||||||
<li class="{% if event.booked_places_count > event.places %}overbooking{% endif %}
|
<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 not event.in_bookable_period %}not-{% endif %}bookable"
|
||||||
{% if event.places %}
|
{% if event.places %}
|
||||||
data-total="{{event.places}}" data-booked="{{event.booked_places_count}}"
|
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}}"
|
data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list_count}}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
><a rel="popup" href="{% url 'chrono-manager-event-edit' pk=agenda.id event_pk=event.id %}?next=settings">
|
><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 }}]
|
{% if event.label %}{{event.label}} {% endif %}[{% trans "identifier:" %} {{ event.slug }}]
|
||||||
{{ event.start_datetime }}
|
{{ event.start_datetime }}
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue