Added number of applications and their type to the bulkaccept JSON object.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/org_app.py Fri Feb 13 16:40:02 2009 +0000
+++ b/app/soc/views/models/org_app.py Fri Feb 13 17:34:29 2009 +0000
@@ -195,6 +195,8 @@
to_json = {
'program' : program_entity.name,
+ 'nr_applications' : len(org_apps),
+ 'application_type' : params['name_plural'],
'applications': org_apps,
'link' : '/org_app/review/%s/(link_id)?status=accepted' %(
program_entity.key().name()),