# HG changeset patch # User Lennard de Rijk # Date 1234137727 0 # Node ID 12d2bf06698f1927a821be1ca3d71ca55fe80f4f # Parent 375632e7ec214859d22b07432edd9e078c765f24 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 diff -r 375632e7ec21 -r 12d2bf06698f app/soc/views/models/program.py --- 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