--- a/app/soc/modules/ghop/views/helper/redirects.py Tue Nov 03 00:50:23 2009 +0100
+++ b/app/soc/modules/ghop/views/helper/redirects.py Tue Nov 03 02:10:47 2009 +0100
@@ -19,6 +19,7 @@
__authors__ = [
'"Madhusudan.C.S" <madhusudancs@gmail.com>',
+ '"Daniel Hans" <daniel.m.hans@gmail.com>',
]
@@ -52,6 +53,16 @@
return result
+def getListStudentTasksRedirect(entity, params):
+ """Returns the redirect for the List Projects page for the given entity.
+ """
+
+ result = '/%s/list_student_tasks/%s' % (
+ params['url_name'], entity.key().id_or_name())
+
+ return result
+
+
def getDifficultyEditRedirect(entity, params):
"""Returns the task difficulty levels edit redirect for the specified entity.
"""