From d0c4302d24bafe6051c2570d7841e46a38f70635 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 18 Jul 2013 12:04:29 -0400 Subject: [PATCH] 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) --- public/templates/admin/header.tpl | 6 +++--- src/routes/admin.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/public/templates/admin/header.tpl b/public/templates/admin/header.tpl index e600daf0f6..01138ac26b 100644 --- a/public/templates/admin/header.tpl +++ b/public/templates/admin/header.tpl @@ -6,7 +6,7 @@ - + @@ -87,14 +87,14 @@ diff --git a/src/routes/admin.js b/src/routes/admin.js index 38be4c3094..e272e6f326 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -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') });