manager: display "check" view to all users (#53898)

This commit is contained in:
Frédéric Péters 2021-05-10 15:52:51 +02:00
parent bf8ffecfbe
commit 5fe731d1ec
1 changed files with 2 additions and 2 deletions

View File

@ -36,11 +36,11 @@
{% if not event.cancellation_status %}
<a rel="popup" href="{% url 'chrono-manager-event-cancel' pk=agenda.pk event_pk=event.pk %}?next={{ request.path }}">{% trans "Cancel" %}</a>
{% endif %}
<a href="{% url 'chrono-manager-event-edit' pk=agenda.id event_pk=object.id %}">{% trans "Options" %}</a>
{% endif %}
{% if object.is_day_past and not object.cancelled %}
<a href="{% url 'chrono-manager-event-check' pk=agenda.pk event_pk=object.pk %}">{% trans "Check" %}</a>
{% endif %}
<a href="{% url 'chrono-manager-event-edit' pk=agenda.id event_pk=object.id %}">{% trans "Options" %}</a>
{% endif %}
{% if object.agenda.booking_form_url %}
<a href="{{ object.agenda.get_booking_form_url }}?agenda={{ object.agenda.slug }}&event={{ event.slug }}">{% trans "Booking form" %}</a>
{% endif %}