Removed slots and apps_tasks_limit from extra_dynaexclude in params and added a getExtraMenus entry to callback for program.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 17 Sep 2009 12:50:14 +0530
changeset 2935 0b8b82b6764e
parent 2934 e8522be2737b
child 2936 75f9c945ed8a
Removed slots and apps_tasks_limit from extra_dynaexclude in params and added a getExtraMenus entry to callback for program. Reviewed by: Lennard de Rijk
app/soc/modules/ghop/callback.py
app/soc/modules/ghop/views/models/program.py
--- a/app/soc/modules/ghop/callback.py	Thu Sep 17 12:43:30 2009 +0530
+++ b/app/soc/modules/ghop/callback.py	Thu Sep 17 12:50:14 2009 +0530
@@ -74,8 +74,10 @@
     self.core.registerSidebarEntry(organization.view.getExtraMenus)
     self.core.registerSidebarEntry(organization.view.getSidebarMenus)
     self.core.registerSidebarEntry(org_admin.view.getSidebarMenus)
+    self.core.registerSidebarEntry(program.view.getExtraMenus)
     self.core.registerSidebarEntry(program.view.getSidebarMenus)
     self.core.registerSidebarEntry(student.view.getSidebarMenus)
     self.core.registerSidebarEntry(task.view.getSidebarMenus)
     self.core.registerSidebarEntry(task_subscription.view.getSidebarMenus)
     self.core.registerSidebarEntry(timeline.view.getSidebarMenus)
+
--- a/app/soc/modules/ghop/views/models/program.py	Thu Sep 17 12:43:30 2009 +0530
+++ b/app/soc/modules/ghop/views/models/program.py	Thu Sep 17 12:50:14 2009 +0530
@@ -112,10 +112,8 @@
     new_params['url_name'] = 'ghop/program'
 
     # TODO: this list can be reduced after GSoC has been moved
-    new_params['extra_dynaexclude'] = ['apps_tasks_limit',
-                                       'min_slots', 'max_slots',
-                                       'slots', 'slot_allocation',
-                                       'allocations_visible',
+    new_params['extra_dynaexclude'] = ['min_slots', 'max_slots',
+                                       'slot_allocation', 'allocations_visible',
                                        'task_difficulties', 'task_types',
                                        ]