# HG changeset patch # User Pawel Solyga # Date 1234724105 0 # Node ID 4f118840617f31a926f9566bb9eb0341968e53e1 # Parent 8f66731fe62d3f543008710df8bbca4d882fe726 Fix import sorting in soc.views.models.program module and rename any "Org" in link names to "Organization". Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 8f66731fe62d -r 4f118840617f app/soc/views/models/program.py --- a/app/soc/views/models/program.py Sun Feb 15 18:53:56 2009 +0000 +++ b/app/soc/views/models/program.py Sun Feb 15 18:55:05 2009 +0000 @@ -28,9 +28,9 @@ from soc.logic import dicts from soc.logic.helper import timeline as timeline_helper -from soc.logic.models.document import logic as document_logic from soc.logic.models import host as host_logic from soc.logic.models import program as program_logic +from soc.logic.models.document import logic as document_logic from soc.views import helper from soc.views import out_of_band from soc.views.helper import access @@ -207,7 +207,7 @@ items += [(redirects.getReviewOverviewRedirect( entity, {'url_name': 'org_app'}), - "Review Org Applications", 'any_access')] + "Review Organization Applications", 'any_access')] # add link to edit Program Profile items += [(redirects.getEditRedirect(entity, params), 'Edit Program Profile','any_access')] @@ -249,11 +249,11 @@ "Apply to become an Organization", 'any_access')] if user: - # add the 'List my Org Applications' link + # add the 'List my Organization Applications' link items += [ (redirects.getListSelfRedirect(program_entity, {'url_name' : 'org_app'}), - "List my Org Applications", 'any_access')] + "List My Organization Applications", 'any_access')] return items