use the proper footer for admin

v1.18.x
psychobunny 11 years ago
parent 7ef6f9bbf5
commit 48b9289002

@ -60,7 +60,7 @@ middleware.buildHeader = function(req, res, next) {
});
},
function(next) {
app.render('footer', {}, function(err, template) {
app.render('admin/footer', {}, function(err, template) {
res.locals.adminFooter = template;
next(err);
});

@ -226,6 +226,7 @@ middleware.renderHeader = function (options, callback) {
var metaTitle = templateValues.metaTags.filter(function(tag) {
return tag.name === 'title';
});
if (translated) {
templateValues.browserTitle = translated;
} else if (metaTitle.length > 0 && metaTitle[0].content) {

Loading…
Cancel
Save