--- a/app/soc/views/models/club.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/club.py Wed Jan 28 02:28:52 2009 +0000
@@ -74,6 +74,7 @@
new_params['rights'] = rights
new_params['name'] = "Club"
new_params['url_name'] = "club"
+ new_params['sidebar_grouping'] = 'Clubs'
patterns = []
--- a/app/soc/views/models/club_admin.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/club_admin.py Wed Jan 28 02:28:52 2009 +0000
@@ -67,6 +67,7 @@
new_params['scope_view'] = club_view
new_params['name'] = "Club Admin"
+ new_params['sidebar_grouping'] = 'Clubs'
new_params['extra_dynaexclude'] = ['user', 'state']
--- a/app/soc/views/models/club_app.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/club_app.py Wed Jan 28 02:28:52 2009 +0000
@@ -68,6 +68,8 @@
new_params['rights'] = rights
new_params['logic'] = club_app_logic.logic
+ new_params['sidebar_grouping'] = 'Clubs'
+
new_params['create_template'] = 'soc/models/twoline_edit.html'
new_params['edit_template'] = 'soc/models/twoline_edit.html'
--- a/app/soc/views/models/club_member.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/club_member.py Wed Jan 28 02:28:52 2009 +0000
@@ -68,6 +68,7 @@
new_params['scope_view'] = club_view
new_params['name'] = "Club Member"
+ new_params['sidebar_grouping'] = 'Clubs'
new_params['extra_dynaexclude'] = ['user', 'state']
--- a/app/soc/views/models/host.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/host.py Wed Jan 28 02:28:52 2009 +0000
@@ -76,6 +76,7 @@
new_params['name'] = "Program Administrator"
new_params['module_name'] = "host"
+ new_params['sidebar_grouping'] = 'Programs'
new_params['extra_dynaexclude'] = ['user', 'state']
--- a/app/soc/views/models/program.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/program.py Wed Jan 28 02:28:52 2009 +0000
@@ -63,6 +63,7 @@
new_params['scope_redirect'] = redirects.getCreateRedirect
new_params['name'] = "Program"
+ new_params['sidebar_grouping'] = 'Programs'
new_params['edit_template'] = 'soc/program/edit.html'
--- a/app/soc/views/models/sponsor.py Wed Jan 28 02:27:25 2009 +0000
+++ b/app/soc/views/models/sponsor.py Wed Jan 28 02:28:52 2009 +0000
@@ -60,6 +60,7 @@
new_params['name'] = "Program Owner"
new_params['module_name'] = "sponsor"
+ new_params['sidebar_grouping'] = 'Programs'
params = dicts.merge(params, new_params)