Task view template cleanup