mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-13 14:41:33 +02:00
moved portions of the ACP/Plugins page to a pair of partials, and split up the list so the plugins list isn't parsed twice.
This commit is contained in:
@@ -275,7 +275,12 @@ adminController.plugins.get = function(req, res, next) {
|
||||
}
|
||||
|
||||
res.render('admin/extend/plugins' , {
|
||||
plugins: plugins
|
||||
installed: plugins.filter(function(plugin) {
|
||||
return plugin.installed;
|
||||
}),
|
||||
download: plugins.filter(function(plugin) {
|
||||
return !plugin.installed;
|
||||
})
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user