--- a/app/soc/views/models/program.py Sat Feb 14 20:22:50 2009 +0000
+++ b/app/soc/views/models/program.py Sat Feb 14 20:23:18 2009 +0000
@@ -191,11 +191,14 @@
items += document_view.view.getMenusForScope(entity, params)
items += self._getTimeDependentEntries(entity, params, id, user)
+ url = redirects.getPublicListRedirect(entity, {'url_name': 'org'})
+ items += [(url, "List Organizations", 'any_access')]
+
try:
# check if the current user is a host for this program
rights.doCachedCheck('checkIsHostForProgram',
- {'scope_path': entity.scope_path,
- 'link_id': entity.link_id}, [])
+ {'scope_path': entity.scope_path,
+ 'link_id': entity.link_id}, [])
if entity.status == 'invisible':
# still add the document links so hosts can see how it looks like