Merge pull request #716 from sgmap/limit_long_breadcrumb

Limit long breadcrumbs, by truncating procedure name
This commit is contained in:
LeSim 2017-09-11 09:39:18 +02:00 committed by GitHub
commit b526c28cf9

View file

@ -3,7 +3,7 @@
.flex.justify-between
%ul.breadcrumbs
%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
= "Dossier nº #{dossier.id}"
%div