removing "branding" until I can figure out how to do this properly

(tbh, even I don't know how it works anymore)
v1.18.x
psychobunny 10 years ago
parent 0340f699a0
commit 6af1e4f6d0

@ -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
});
});
});

@ -66,20 +66,6 @@
</form>
<button class="btn btn-primary" id="save">Save</button>
<hr />
<h3>Custom Branding</h3>
<form id="branding">
<!-- BEGIN branding -->
<label>{branding.key}:</label>
<input type="text" class="form-control branding" data-key="{branding.key}" data-empty="{branding.value}" /><br />
<!-- END branding -->
</form>
<button class="btn btn-primary" id="save-branding">Save Branding</button>
</div>
<div class="tab-pane" id="widgets">
<h3>Widgets</h3>

Loading…
Cancel
Save