manager: mark full events with a tag before their labels (#44452)

This commit is contained in:
Frédéric Péters 2020-06-30 14:47:24 +02:00
parent ce9ba2ef83
commit 44c7f60ae2
2 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@
data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list_count}}"
{% endif %}
><a href="{% url 'chrono-manager-event-view' pk=agenda.id event_pk=event.id %}">
{% if event.full %}<span class="full tag">{% trans "Full" %}</span>{% endif %}
{% if event.label %}{{event.label}} / {% endif %}
{{ event.start_datetime }}
{% if event.full %}/ <span class="full">{% trans "full" %}</span>{% endif %}
(
{% if event.places %}
{% blocktrans with places=event.places booked_places=event.booked_places_count %}{{ places }} places, {{ booked_places }} booked places{% endblocktrans %}

View File

@ -24,9 +24,9 @@
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.label %}{{event.label}} / {% endif %}[{% trans "identifier:" %} {{ event.slug }}]
{% if event.full %}<span class="full tag">{% trans "Full" %}</span>{% endif %}
{% if event.label %}{{event.label}} {% endif %}[{% trans "identifier:" %} {{ event.slug }}]
{{ event.start_datetime }}
{% if event.full %}/ <span class="full">{% trans "full" %}</span>{% endif %}
(
{% if event.places %}
{% blocktrans with places=event.places booked_places=event.booked_places_count %}{{ places }} places, {{ booked_places }} booked places{% endblocktrans %}