# HG changeset patch # User Madhusudan.C.S # Date 1253172014 -19800 # Node ID 0b8b82b6764ee032a3a9c931a4ebd54029b6b859 # Parent e8522be2737b94257b0926a87015d58f81a79105 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 diff -r e8522be2737b -r 0b8b82b6764e app/soc/modules/ghop/callback.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) + diff -r e8522be2737b -r 0b8b82b6764e app/soc/modules/ghop/views/models/program.py --- 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', ]