mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
removing non-existant unit tests from admin template, and setting admin theme to always be the bootstrap default (so errant themes don't render the admin panel useless)
This commit is contained in:
@@ -15,7 +15,6 @@ var user = require('./../user.js'),
|
||||
|
||||
Admin.build_header = function(res) {
|
||||
return templates['admin/header'].parse({
|
||||
cssSrc: global.config['theme:src'] || global.nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
||||
csrf:res.locals.csrf_token,
|
||||
relative_path: global.nconf.get('relative_path')
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user