Added a button to list all your org applications to a speficic program menu.
The entry only shows up when orgs can apply.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/program.py Sun Feb 08 23:56:56 2009 +0000
+++ b/app/soc/views/models/program.py Mon Feb 09 00:02:07 2009 +0000
@@ -164,10 +164,10 @@
# still add the document links so hosts can see how it looks like
items += document_view.view.getMenusForScope(entity, params)
items += self._getTimeDependentEntries(entity, params)
-
+
items += [(redirects.getReviewOverviewRedirect(
entity, {'url_name': 'org_app'}),
- "List all Org Applications", 'any_access')]
+ "Review Org Applications", 'any_access')]
# add link to edit Program Profile
items += [(redirects.getEditRedirect(entity, params),
'Edit Program Profile','any_access')]
@@ -205,6 +205,10 @@
(redirects.getApplyRedirect(program_entity, {'url_name': 'org_app'}),
"Apply to become an Organization", 'any_access')]
+ items += [
+ (redirects.getListSelfRedirect(program_entity, {'url_name' : 'org_app'}),
+ "List my Org Applications", 'any_access')]
+
return items