Truncate transaction paths to 70 characters

This ensures that long URLs don't completely mess up the layout of the
table.
This commit is contained in:
Yorick Peterse 2015-11-09 12:42:28 +01:00
parent 7b5fd8742e
commit 7f9f07023b

View file

@ -27,7 +27,9 @@
- @transactions.each do |trans|
%tr
%td= trans.type
%td= trans.path
%td
%span{title: trans.path}
= truncate(trans.path, length: 70)
%td
= trans.duration.round(2)
= t('sherlock.seconds')