From 6af1e4f6d0bb49a6c3dbe527e199c38e18513514 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 25 Sep 2014 12:41:16 -0400 Subject: [PATCH] removing "branding" until I can figure out how to do this properly (tbh, even I don't know how it works anymore) --- src/controllers/admin.js | 14 +------------- src/views/admin/themes.tpl | 14 -------------- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/src/controllers/admin.js b/src/controllers/admin.js index 72bfa2b14a..e2dba6bc7b 100644 --- a/src/controllers/admin.js +++ b/src/controllers/admin.js @@ -244,17 +244,6 @@ adminController.themes.get = function(req, res, next) { } } - var branding = []; - - for (var key in meta.css.branding) { - if (meta.css.branding.hasOwnProperty(key)) { - branding.push({ - key: key, - value: meta.css.branding[key] - }); - } - } - var templates = [], list = {}, index = 0; @@ -278,8 +267,7 @@ adminController.themes.get = function(req, res, next) { res.render('admin/themes', { templates: templates, areas: widgetData.areas, - widgets: widgetData.widgets, - branding: branding + widgets: widgetData.widgets }); }); }); diff --git a/src/views/admin/themes.tpl b/src/views/admin/themes.tpl index 77c9096908..4b024f6395 100644 --- a/src/views/admin/themes.tpl +++ b/src/views/admin/themes.tpl @@ -66,20 +66,6 @@ - -
- -

Custom Branding

- -
- - -
- -
- - -

Widgets