Merge pull request #2965 from pengfeidong/fix_2719_supprimer_filtre_long
[fix #2719] tronquer les textes dans le filtre, max=50
This commit is contained in:
commit
215398b47f
2 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,7 @@
|
||||||
.close-icon {
|
.close-icon {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-left: 6px;
|
margin-right: 6px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,10 +59,9 @@
|
||||||
|
|
||||||
- @current_filters.each do |filter|
|
- @current_filters.each do |filter|
|
||||||
%span.filter
|
%span.filter
|
||||||
= "#{filter['label']} : #{filter['value']}"
|
|
||||||
= link_to remove_filter_gestionnaire_procedure_path(@procedure, statut: @statut, table: filter['table'], column: filter['column']) do
|
= 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") }
|
%img.close-icon{ src: image_url("close.svg") }
|
||||||
|
= "#{filter['label'].truncate(50)} : #{filter['value']}"
|
||||||
%table.table.dossiers-table.hoverable
|
%table.table.dossiers-table.hoverable
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
|
|
Loading…
Reference in a new issue