--- a/app/soc/views/helper/redirects.py Sat Aug 01 19:27:20 2009 +0530
+++ b/app/soc/views/helper/redirects.py Sat Aug 01 15:37:36 2009 -0700
@@ -219,6 +219,35 @@
return result
+def getAcceptProjectRedirect(entity, params):
+ """Returns the redirect for withdraw_project access type.
+ """
+
+ result = '/%s/accept_project/%s' % (
+ params['url_name'], entity.key().id_or_name())
+
+ return result
+
+
+def getWithdrawProjectRedirect(entity, params):
+ """Returns the redirect for withdraw_project access type.
+ """
+
+ result = '/%s/withdraw_project/%s' % (
+ params['url_name'], entity.key().id_or_name())
+
+ return result
+
+
+def getWithdrawRedirect(entity, params):
+ """Returns the redirect for withdraw_project access type.
+ """
+
+ result = '/%s/withdraw/%s' % (
+ params['url_name'], entity.key().id_or_name())
+
+ return result
+
def getUserRolesRedirect(_, __):
"""Returns the redirect to the users Roles page.