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:
parent
7b5fd8742e
commit
7f9f07023b
1 changed files with 3 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue