From e962fb26e00ae2ba49cbae436b8357eecd0ef7a6 Mon Sep 17 00:00:00 2001 From: Nicolas Bouilleaud Date: Mon, 23 Sep 2019 15:36:27 +0200 Subject: [PATCH] =?UTF-8?q?Allow=20sorting=20Dossiers=20by=20=E2=80=9Chas?= =?UTF-8?q?=20notifications=E2=80=9D=20in=20`traites`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #4351 --- app/views/instructeurs/procedures/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/procedures/show.html.haml b/app/views/instructeurs/procedures/show.html.haml index 5239c1e8d..ec5cc79c3 100644 --- a/app/views/instructeurs/procedures/show.html.haml +++ b/app/views/instructeurs/procedures/show.html.haml @@ -85,7 +85,7 @@ %table.table.dossiers-table.hoverable %thead %tr - - if @statut == 'suivis' || @statut == 'tous' + - if @statut.in? %w(suivis traites tous) = render partial: "header_field", locals: { field: { "label" => "●", "table" => "notifications", "column" => "notifications" }, classname: "notification-col" } - else %th.notification-col