Project

General

Profile

« Previous | Next » 

Revision 1f9e881e

Added by Benjamin Dauvergne over 12 years ago

agenda: fix event deletion

View differences:

calebasse/agenda/templates/agenda/ressources.html
74 74
                  {% else %}
75 75
                    <button title="Éditer un événement" class="edit-event icon-edit" data-event-id="{{ appointment.event_id }}">
76 76
                  {% endif %}
77
                 <button class="remove-appointment icon-remove-sign" title="Supprimer un rendez-vous" data-event-id="{{ appointment.event_id }}" data-rdv="{{ appointment.title }}"></button>
77
                  <button class="remove-appointment icon-remove-sign" title="Supprimer un rendez-vous" data-url="{% url 'delete-event' date=date service=service pk=appointment.event_id %}" data-rdv="{{ appointment.title }}"></button>
78 78
                 {% endif %}
79 79
            </span>
80 80
           </h3>

Also available in: Unified diff