Added list proposals redirect.
This is used to list student proposals directed to one organization.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/helper/redirects.py Tue Feb 24 19:51:40 2009 +0000
+++ b/app/soc/views/helper/redirects.py Tue Feb 24 19:54:36 2009 +0000
@@ -155,6 +155,17 @@
return result
+def getListProposalsRedirect(entity, params):
+ """Returns the redirect for the List page for the given
+ Org entity and Org View params.
+ """
+
+ result = '/%s/list_proposals/%s' % (
+ params['url_name'], entity.key().name())
+
+ return result
+
+
def getListRequestsRedirect(entity, params):
"""Returns the redirect for the List Requests paged for the given
Group entity and Group View params.