also displays total_hours if the user has the view_own_time_entries permission

This is a hack as the permission only exists if the costs plugin is loaded which creates an interdependence of the two plugins.