From b30cb34fa2b8a45b58499cbb6c9f13d4ca342be6 Mon Sep 17 00:00:00 2001 From: Simon Lehericey Date: Mon, 22 May 2017 17:11:41 +0200 Subject: [PATCH] LeftPanelBackofficeDossier: fix a typo --- .../_left_panel_backoffice_dossierscontroller_show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml index ccc0aaa36..a78fa8241 100644 --- a/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml +++ b/app/views/layouts/left_panels/_left_panel_backoffice_dossierscontroller_show.html.haml @@ -51,12 +51,12 @@ - if notification.liste.size > 1 .type= "Plusieurs attributs ont été changés, dont: #{notification.liste.join(" ")}" - else - .type= "Un attribut à été changé: #{notification.liste.last}" + .type= "Un attribut a été changé: #{notification.liste.last}" - elsif ['piece_justificative'].include?(notification.type_notif) - if notification.liste.size > 1 .type= "Plusieurs pièces jointes ont été changés, dont: #{notification.liste.join(" ")}" - else - .type= "Une pièce jointe à été changée: #{notification.liste.last}" + .type= "Une pièce jointe a été changée: #{notification.liste.last}" - else .type= notification.liste.last .split-hr