@@ -45,7+48,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 {0}back{1}.", Arrays.asList("!'<a href=\"" + PATH + "\">", "!'</a>"));