dossiers: fix patient record notification edition and deletion

Fixes #3225
This commit is contained in:
Jérôme Schneider 2013-08-07 18:22:42 +02:00
parent 5544744e70
commit c8ba1faace
1 changed files with 4 additions and 2 deletions

View File

@ -458,11 +458,12 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
</p>
{% if hcs %}
{% for hc in hcs %}
{% if hc.sessadhealthcarenotification %}
<div id="patient-diag">
<div class="frame">
<div class="buttons">
<button type="button" data-id="{{ hc.id }}" class="del-notification icon-minus" title="Supprimer"></button>
<button type="button" data-id="{{ hc.id }}" class="update-notification-btn icon-edit" title="Modifier"></button>
<button type="button" data-id="{{ hc.sessadhealthcarenotification.id }}" class="del-notification icon-minus" title="Supprimer"></button>
<button type="button" data-id="{{ hc.sessadhealthcarenotification.id }}" class="update-notification-btn icon-edit" title="Modifier"></button>
</div>
<h3>Notification</h3>
<ul>
@ -475,6 +476,7 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
</ul>
</div>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}