--- a/app/soc/views/helper/redirects.py Tue Mar 17 13:25:55 2009 +0000
+++ b/app/soc/views/helper/redirects.py Tue Mar 17 13:28:06 2009 +0000
@@ -287,7 +287,7 @@
params['url_name'], entity.key().name())
-def getSlotsRedirect(entity, params):
+def getAssignSlotsRedirect(entity, params):
"""Returns the assign slots redirect for the specified entity.
"""
--- a/app/soc/views/models/program.py Tue Mar 17 13:25:55 2009 +0000
+++ b/app/soc/views/models/program.py Tue Mar 17 13:28:06 2009 +0000
@@ -553,6 +553,9 @@
# add link to edit Program Profile
items += [(redirects.getEditRedirect(entity, params),
'Edit Program Profile','any_access')]
+ # add link to Assign Slots
+ items += [(redirects.getAssignSlotsRedirect(entity, params),
+ 'Assign Slots','any_access')]
# add link to edit Program Timeline
items += [(redirects.getEditRedirect(entity, {'url_name': 'timeline'}),
"Edit Program Timeline", 'any_access')]