Fixes #6713: Long names needs to be truncated while listing

why not simply add a default length to the trunc method? it looks pretty much the same already.
I would also consider moving it to the layout helper.