Projet

Général

Profil

« Précédent | Suivant » 

Révision 3e4631f4

Ajouté par Mikaël Ates il y a presque 10 ans

agenda: comment update in ajax, we update comment on event and not on act

Voir les différences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
136 136
            <span></span>
137 137
            {% if service in appointment.services_names or not appointment.services_names %}
138 138
            <textarea>{{ appointment.description }}</textarea>
139
            <button disabled="disabled" data-event-id="{{ appointment.event_id }}" data-date="{{ date|date:"Y-m-d" }}" {% if appointment.act_id %}data-act-id="{{ appointment.act_id }}{% endif %}">✔</button>
139
            <button disabled="disabled" data-event-id="{{ appointment.event_id }}" data-date="{{ date|date:"Y-m-d" }}">✔</button>
140 140
            {% else %}
141 141
            <p>{{ appointment.description }}</p>
142 142
            {% endif %}

Formats disponibles : Unified diff