added widget areas to the bottom of the group details page, #2588

This commit is contained in:
Julian Lam
2015-01-11 18:04:35 -05:00
parent 240056d169
commit 08e883de44
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -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 -->