Link breadcrumb on task sub-pages

This commit is contained in:
Rowan Manning
2013-11-28 08:59:05 +00:00
parent ce77e57659
commit 4ff53093f4
3 changed files with 9 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ function route (app) {
}
res.render('task/delete', {
task: presentTask(task),
isTaskPage: true
isTaskSubPage: true
});
});
});

View File

@@ -30,7 +30,7 @@ function route (app) {
edited: (typeof req.query.edited !== 'undefined'),
standards: standards,
task: presentTask(task),
isTaskPage: true
isTaskSubPage: true
});
});
});
@@ -61,7 +61,7 @@ function route (app) {
error: err,
standards: standards,
task: task,
isTaskPage: true
isTaskSubPage: true
});
}
res.redirect('/' + req.params.id + '/edit?edited');