Node.js based forum software built for the modern web
added widget areas to the bottom of the group details page, #2588
Julian Lam08e883de44f1
diff --git a/src/controllers/admin.js b/src/controllers/admin.jsindex 5a43e1ba6c..5ccfa3a6df 100644--- a/src/controllers/admin.js+++ b/src/controllers/admin.js@@ -237,6 +237,9 @@ adminController.extend.widgets = function(req, res, next) {{ name: 'Global Sidebar', template: 'global', location: 'sidebar' },{ name: 'Global Header', template: 'global', location: 'header' },{ name: 'Global Footer', template: 'global', location: 'footer' },++ { name: 'Group Page (Left)', template: 'groups/details.tpl', location: 'left'},+ { name: 'Group Page (Right)', template: 'groups/details.tpl', location: 'right'}];plugins.fireHook('filter:widgets.getAreas', defaultAreas, next);diff --git a/src/views/admin/extend/widgets.tpl b/src/views/admin/extend/widgets.tplindex 4571f70d1f..1f504fbdf1 100644--- a/src/views/admin/extend/widgets.tpl+++ b/src/views/admin/extend/widgets.tpl@@ -10,7 +10,7 @@<!-- END templates --></ul>- <div class="tab-content">+ <div class="tab-content col-xs-12"><!-- BEGIN templates --><div class="tab-pane <!-- IF @first -->active<!-- ENDIF @first -->" data-template="{templates.template}"><!-- BEGIN areas -->