fix listline template to hide actions td if not needed