Projet

Général

Profil

0001-manager-mark-full-events-with-a-tag-before-their-lab.patch

Frédéric Péters, 30 juin 2020 14:48

Télécharger (2,52 ko)

Voir les différences:

Subject: [PATCH] manager: mark full events with a tag before their labels
 (#44452)

 .../templates/chrono/manager_events_agenda_month_view.html      | 2 +-
 .../templates/chrono/manager_events_agenda_settings.html        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
chrono/manager/templates/chrono/manager_events_agenda_month_view.html
17 17
          data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list_count}}"
18 18
        {% endif %}
19 19
        ><a href="{% url 'chrono-manager-event-view' pk=agenda.id event_pk=event.id %}">
20
        {% if event.full %}<span class="full badge">{% trans "Full" %}</span>{% endif %}
20 21
        {% if event.label %}{{event.label}} / {% endif %}
21 22
        {{ event.start_datetime }}
22
        {% if event.full %}/ <span class="full">{% trans "full" %}</span>{% endif %}
23 23
        (
24 24
        {% if event.places %}
25 25
        {% blocktrans with places=event.places booked_places=event.booked_places_count %}{{ places }} places, {{ booked_places }} booked places{% endblocktrans %}
chrono/manager/templates/chrono/manager_events_agenda_settings.html
24 24
          data-total="{{event.waiting_list_places}}" data-booked="{{event.waiting_list_count}}"
25 25
        {% endif %}
26 26
        ><a rel="popup" href="{% url 'chrono-manager-event-edit' pk=agenda.id event_pk=event.id %}?next=settings">
27
        {% if event.full %}<span class="full badge">{% trans "Full" %}</span>{% endif %}
27 28
        {% if event.label %}{{event.label}} / {% endif %}
28 29
        {{ event.start_datetime }}
29
        {% if event.full %}/ <span class="full">{% trans "full" %}</span>{% endif %}
30 30
        (
31 31
        {% if event.places %}
32 32
        {% blocktrans with places=event.places booked_places=event.booked_places_count %}{{ places }} places, {{ booked_places }} booked places{% endblocktrans %}
33
-