mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 12:36:02 +01: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