add next in url for task detail template