Revision 76974b6f
Added by Benjamin Dauvergne almost 12 years ago
calebasse/agenda/templates/agenda/ressources.html | ||
---|---|---|
70 | 70 |
{% endif %} |
71 | 71 |
{% if appointment.event_id %} |
72 | 72 |
{% if appointment.patient_record_id %} |
73 |
<button title="Éditer un rendez-vous" class="edit-appointment icon-edit" data-occurrence-id="{{ appointment.occurrence_id }}"></button>
|
|
73 |
<button title="Éditer un rendez-vous" class="edit-appointment icon-edit" data-event-id="{{ appointment.event_id }}"></button>
|
|
74 | 74 |
{% else %} |
75 |
<button title="Éditer un événement" class="edit-event icon-edit" data-occurrence-id="{{ appointment.occurrence_id }}">
|
|
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-occurrence-id="{{ appointment.occurrence_id }}" data-rdv="{{ appointment.title }}"></button>
|
|
77 |
<button class="remove-appointment icon-remove-sign" title="Supprimer un rendez-vous" data-event-id="{{ appointment.event_id }}" data-rdv="{{ appointment.title }}"></button>
|
|
78 | 78 |
{% endif %} |
79 | 79 |
</span> |
80 | 80 |
</h3> |
... | ... | |
112 | 112 |
</p> |
113 | 113 |
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view" target="_blank">Dossier patient</a> - |
114 | 114 |
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view#tab=5" target="_blank">Prochains rendez-vous</a> - |
115 |
<a href="#" class="generate-mail-btn" data-dossier-id="{{ appointment.patient_record_id }}" data-occurence-id="{{ appointment.occurrence_id }}" data-next-url="{{ request.get_full_path }}">Courrier</a> |
|
115 |
<a href="#" class="generate-mail-btn" data-dossier-id="{{ appointment.patient_record_id }}" data-date="{{date}}" data-occurence-id="{{ appointment.occurrence_id }}" data-next-url="{{ request.get_full_path }}">Courrier</a>
|
|
116 | 116 |
{% endif %} |
117 | 117 |
{% if appointment.validation %} |
118 | 118 |
<div><span>{% if appointment.validation.1 %}<strong>{{ appointment.validation.2 }}</strong>, le {{ appointment.validation.1.created }} par {{ appointment.validation.1.author }} |
Also available in: Unified diff
agenda/actes/dossiers: move Occurence fields into Event, add recurring events support