From 2e2c8b8e778958385f8a1516d1a9ef17b80058c0 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 29 Apr 2016 13:46:07 -0400 Subject: [PATCH] fixes #4584 --- src/middleware/admin.js | 3 ++- src/views/admin/header.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@ - +
\ No newline at end of file