From 8e1b3515be304016cc915279787cfeaae13da05c Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Wed, 16 Jan 2019 11:43:07 +0100 Subject: [PATCH] =?UTF-8?q?Add=20d=C3=A9marche=20en=20test=20on=20dossiers?= =?UTF-8?q?#show?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/new_gestionnaire/dossiers/_header.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/new_gestionnaire/dossiers/_header.html.haml b/app/views/new_gestionnaire/dossiers/_header.html.haml index 3928b531d..0079325fa 100644 --- a/app/views/new_gestionnaire/dossiers/_header.html.haml +++ b/app/views/new_gestionnaire/dossiers/_header.html.haml @@ -3,7 +3,10 @@ .flex.justify-between %ul.breadcrumbs %li - = link_to dossier.procedure.libelle.truncate_words(10), gestionnaire_procedure_path(dossier.procedure), title: dossier.procedure.libelle + = link_to gestionnaire_procedure_path(dossier.procedure), title: dossier.procedure.libelle do + - if dossier.procedure.brouillon? + %span.badge démarche en test + = dossier.procedure.libelle.truncate_words(10) %li = "Dossier nº #{dossier.id}" .mixed-buttons-bar