@@ -45,7+47,8 @@ public class TTPAdminPage extends Page {
int id = Integer.parseInt(path.substring(1 + PATH.length()));
User u = User.getById(id);
if (u == null || !u.isInGroup(TTP_APPLICANT)) {
int id = Integer.parseInt(path.substring(1 + PATH.length()));
User u = User.getById(id);
if (u == null || !u.isInGroup(TTP_APPLICANT)) {
- req.setAttribute(PageNotFound.MESSAGE_ATTRIBUTE, "The TTP-request is not available anymore.");
+ SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go %sback%s.", Arrays.asList("!\"<a href='" + PATH + "'>", "!\"</a>"));