DRY up task display.