Hide unnecessary info in the detail of tasks

Hide the unnecessary information if the task is not completed yet