[fix #2719] tronquer les textes dans le filtre, max=50

This commit is contained in:
pengfei 2018-11-07 15:48:03 +01:00
parent dc62128ed7
commit 89daaedbe4

View file

@ -59,7 +59,7 @@
- @current_filters.each do |filter|
%span.filter
= "#{filter['label']} : #{filter['value']}"
= "#{truncate(filter['label']+' : '+filter['value'], length: 50)}"
= link_to remove_filter_gestionnaire_procedure_path(@procedure, statut: @statut, table: filter['table'], column: filter['column']) do
%img.close-icon{ src: image_url("close.svg") }