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 {
|
||||
vertical-align: top;
|
||||
margin-top: 12px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,10 +59,9 @@
|
|||
|
||||
- @current_filters.each do |filter|
|
||||
%span.filter
|
||||
= "#{filter['label']} : #{filter['value']}"
|
||||
= 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") }
|
||||
|
||||
= "#{filter['label'].truncate(50)} : #{filter['value']}"
|
||||
%table.table.dossiers-table.hoverable
|
||||
%thead
|
||||
%tr
|
||||
|
|
Loading…
Reference in a new issue