From 64134d1b08ab7aeb3847dcebbb316e8e82a52076 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 7 Dec 2022 16:21:15 +0100 Subject: [PATCH] fix deleted notification in table after batch feature implementation --- app/views/instructeurs/procedures/show.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/instructeurs/procedures/show.html.haml b/app/views/instructeurs/procedures/show.html.haml index f30cf5dd7..6ce3eecb4 100644 --- a/app/views/instructeurs/procedures/show.html.haml +++ b/app/views/instructeurs/procedures/show.html.haml @@ -123,6 +123,9 @@ = check_box_tag :"batch_operation[dossier_ids][]", p.dossier_id, true, disabled: true, id: dom_id(BatchOperation.new, "checkbox_#{p.dossier_id}"), aria: {label: t('views.instructeurs.dossiers.batch_operation.disabled')} - else = check_box_tag :"batch_operation[dossier_ids][]", p.dossier_id, false, data: { "batch-operation-target" => "input", "action" => "batch-operation#onCheckOne"}, form: dom_id(BatchOperation.new), id: dom_id(BatchOperation.new, "checkbox_#{p.dossier_id}"), aria: {label: t('views.instructeurs.dossiers.batch_operation.enabled')} + + - if @not_archived_notifications_dossier_ids.include?(p.dossier_id) + %span.notifications{ 'aria-label': 'notifications' } - else - if p.hidden_by_administration_at.present? %span.cell-link