From 2bd45991903073934ef6226b13a586d4a60332e2 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 10 May 2022 12:55:16 +0200 Subject: [PATCH] views: truncate procedure title in Experts breadcrumbs --- app/views/experts/avis/_header.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/experts/avis/_header.html.haml b/app/views/experts/avis/_header.html.haml index ac53fb389..02d04e1db 100644 --- a/app/views/experts/avis/_header.html.haml +++ b/app/views/experts/avis/_header.html.haml @@ -3,7 +3,7 @@ .flex.justify-between %ul.breadcrumbs %li= link_to('Avis', expert_all_avis_path) - %li= link_to(dossier.procedure.libelle, procedure_expert_avis_index_path(avis.procedure)) + %li= link_to(dossier.procedure.libelle.truncate_words(10), procedure_expert_avis_index_path(avis.procedure)) %li= link_to("Dossier nº #{dossier.id}", expert_avis_path(avis.procedure, avis)) .header-actions