Commit 7f9f0702 authored by Yorick Peterse's avatar Yorick Peterse

Truncate transaction paths to 70 characters

This ensures that long URLs don't completely mess up the layout of the
table.
parent 7b5fd874
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
- @transactions.each do |trans| - @transactions.each do |trans|
%tr %tr
%td= trans.type %td= trans.type
%td= trans.path %td
%span{title: trans.path}
= truncate(trans.path, length: 70)
%td %td
= trans.duration.round(2) = trans.duration.round(2)
= t('sherlock.seconds') = t('sherlock.seconds')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment