use the proper footer for admin

This commit is contained in:
psychobunny
2014-03-03 16:40:26 -05:00
parent 7ef6f9bbf5
commit 48b9289002
2 changed files with 2 additions and 1 deletions

View File

@@ -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);
});

View File

@@ -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) {