Project

General

Profile

« Previous | Next » 

Revision b0e22743

Added by Jérôme Schneider over 12 years ago

Fix #1877: add appoinment edition

  • calebasse/agenda/templates/agenda/index.html: add appoinment edition * calebasse/agenda/urls.py: add agenda/.../update-rdv * calebasse/agenda/views.py: add UpdateAppointmentView * calebasse/static/js/calebasse.agenda.js: refactoring and add
    appoinment edition

View differences:

calebasse/agenda/templates/agenda/index.html
92 92
                 <img title="Un commentaire existe" src="{{ STATIC_URL }}images/emblem-documents.png">
93 93
                 {% endif %}
94 94
                 {% if appointment.event_id %}
95
                 <img title="Editer un rendez-vous" src="{{ STATIC_URL }}images/accessories-text-editor.png">
95
                 <img title="Editer un rendez-vous" class="edit-appointment" src="{{ STATIC_URL }}images/accessories-text-editor.png" data-occurrence-id="{{ appointment.occurrence_id }}">
96 96
                 <img class="remove-appointment" title="Supprimer un rendez-vous" src="{{ STATIC_URL }}images/list-remove.png" data-occurrence-id="{{ appointment.occurrence_id }}" data-rdv="{{ appointment.title }}">
97 97
                 {% endif %}
98 98
            </span>

Also available in: Unified diff