Limit long breadcrumbs, by truncating procedure name

This commit is contained in:
Mathieu Magnin 2017-09-08 14:46:25 +02:00
parent 86b1dc656d
commit dd2d666347

View file

@ -3,7 +3,7 @@
.flex.justify-between .flex.justify-between
%ul.breadcrumbs %ul.breadcrumbs
%li %li
= link_to dossier.procedure.libelle, procedure_path(dossier.procedure) = link_to dossier.procedure.libelle.truncate_words(10), procedure_path(dossier.procedure), title: dossier.procedure.libelle
%li %li
= "Dossier nº #{dossier.id}" = "Dossier nº #{dossier.id}"
%div %div