Create org_application now shows select program view.
Also fixed the menu heading.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/org_app.py Mon Feb 02 16:03:21 2009 +0000
+++ b/app/soc/views/models/org_app.py Mon Feb 02 16:21:33 2009 +0000
@@ -27,7 +27,9 @@
from soc.logic import dicts
from soc.logic.models import org_app as org_app_logic
from soc.views.helper import access
+from soc.views.helper import redirects
from soc.views.models import group_app
+from soc.views.models import program as program_view
import soc.logic.dicts
@@ -61,7 +63,10 @@
new_params['rights'] = rights
new_params['logic'] = org_app_logic.logic
- new_params['sidebar_grouping'] = 'Organization'
+ new_params['scope_view'] = program_view
+ new_params['scope_redirect'] = redirects.getCreateRedirect
+
+ new_params['sidebar_grouping'] = 'Organizations'
new_params['extra_dynaexclude'] = ['applicant', 'backup_admin', 'status',
'created_on', 'last_modified_on']