Project

General

Profile

« Previous | Next » 

Revision 72f229a9

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

agenda: synchronize enventwithact description with act comment

Ref #4006

View differences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
</div>
{% endif %}
{% if appointment.event_id %}
<div class="tabs-worker-{{ worker_agenda.worker.id }} textedit">
<div class="tabs-worker-{{ worker_agenda.worker.id }} textedit">
<span></span>
{% if service in appointment.services_names or not appointment.services_names %}
<textarea>{{ appointment.description }}</textarea>
<button disabled="disabled" data-event-id="{{ appointment.event_id }}" data-date="{{ date|date:"Y-m-d" }}">✔</button>
<button disabled="disabled" data-event-id="{{ appointment.event_id }}" data-date="{{ date|date:"Y-m-d" }}" data-act-id="{{ appointment.act_id }}">✔</button>
{% else %}
<p>{{ appointment.description }}</p>
{% endif %}

Also available in: Unified diff