mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-02 02:21:14 +01:00
added widget areas to the bottom of the group details page, #2588
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user