Changed the accepted and rejected list to redirect to the review page in ListProposals view.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 20 Apr 2009 20:57:59 +0000
changeset 2259 62676277db14
parent 2258 280d2cf745f2
child 2260 129901892999
Changed the accepted and rejected list to redirect to the review page in ListProposals view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/organization.py
--- a/app/soc/views/models/organization.py	Mon Apr 20 20:56:56 2009 +0000
+++ b/app/soc/views/models/organization.py	Mon Apr 20 20:57:59 2009 +0000
@@ -327,7 +327,7 @@
         ap_params['name_plural'], org_entity.name)
 
     ap_params['list_description'] = description
-    ap_params['list_action'] = (redirects.getPublicRedirect, ap_params)
+    ap_params['list_action'] = (redirects.getReviewRedirect, ap_params)
 
     filter = {'org': org_entity,
               'status': 'accepted'}
@@ -341,7 +341,7 @@
         rp_params['name_plural'], org_entity.name)
 
     rp_params['list_description'] = description
-    rp_params['list_action'] = (redirects.getPublicRedirect, rp_params)
+    rp_params['list_action'] = (redirects.getReviewRedirect, rp_params)
 
     filter = {'org': org_entity,
               'status': 'rejected'}