diff --git a/src/middleware/admin.js b/src/middleware/admin.js index ceeabdca99..2ee0f7fd80 100644 --- a/src/middleware/admin.js +++ b/src/middleware/admin.js @@ -112,7 +112,8 @@ middleware.renderHeader = function(req, res, data, next) { scripts: results.scripts, 'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '', env: process.env.NODE_ENV ? true : false, - title: (acpPath || 'Dashboard') + ' | NodeBB Admin Control Panel' + title: (acpPath || 'Dashboard') + ' | NodeBB Admin Control Panel', + bodyClass: data.bodyClass }; templateValues.template = {name: res.locals.template}; diff --git a/src/views/admin/header.tpl b/src/views/admin/header.tpl index 476ebda7a6..1160e135bf 100644 --- a/src/views/admin/header.tpl +++ b/src/views/admin/header.tpl @@ -60,6 +60,6 @@ -
+