v1.18.x
Julian Lam 9 years ago
parent 0ace04ee4f
commit 2e2c8b8e77

@ -112,7 +112,8 @@ middleware.renderHeader = function(req, res, data, next) {
scripts: results.scripts, scripts: results.scripts,
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '', 'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
env: process.env.NODE_ENV ? true : false, 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}; templateValues.template = {name: res.locals.template};

@ -60,6 +60,6 @@
<!-- END scripts --> <!-- END scripts -->
</head> </head>
<body class="admin"> <body class="admin {bodyClass}">
<!-- IMPORT admin/partials/menu.tpl --> <!-- IMPORT admin/partials/menu.tpl -->
<div class="container" id="content"> <div class="container" id="content">
Loading…
Cancel
Save