move custom links out of `tfoot` and don't put them in their own template; be explicit with toggleable classes and their show/hide text