learning-unlimited/ESP-Website — Issue #279: Clarify meets_deadline error messages
Author: pricem
Created: 2012-02-21 13:16:18+00:00
State: open
Labels: Easy, Enhancement, UserInterface

Our program module views often rely on the meets_deadline() decorator and related functions, which check whether the currently logged-in user has been granted access to the current page at the current time. As far as I know these functions are working correctly, but the error messages displayed (via the mostly-static templates at errors/program/deadline-*.html) aren't very informative. We've received many complaints about these messages, both from participants that can't see registration pages and directors who are having trouble configuring deadlines. Fortunately they're easy to fix by adding some context information (e.g. which page was requested, which deadline was checked) and updating the template to render it.