extract the deadline logic to a partial, and added to the pq/show