Fix for copy/paste fail
authorSverre Rabbelier <sverre@rabbelier.nl>
Sat, 01 Aug 2009 16:22:10 -0700
changeset 2707 ffabb3576744
parent 2706 198926c38229
child 2708 db544114b158
Fix for copy/paste fail
app/soc/views/helper/redirects.py
app/soc/views/models/student_project.py
--- a/app/soc/views/helper/redirects.py	Sat Aug 01 15:55:33 2009 -0700
+++ b/app/soc/views/helper/redirects.py	Sat Aug 01 16:22:10 2009 -0700
@@ -220,7 +220,7 @@
   return result
 
 def getAcceptProjectRedirect(entity, params):
-  """Returns the redirect for withdraw_project access type.
+  """Returns the redirect for accept_project access type.
   """
 
   result = '/%s/accept_project/%s' % (
@@ -230,7 +230,7 @@
 
 
 def getWithdrawProjectRedirect(entity, params):
-  """Returns the redirect for withdraw_project access type.
+  """Returns the redirect for withdraw access type.
   """
 
   result = '/%s/withdraw_project/%s' % (
--- a/app/soc/views/models/student_project.py	Sat Aug 01 15:55:33 2009 -0700
+++ b/app/soc/views/models/student_project.py	Sat Aug 01 16:22:10 2009 -0700
@@ -243,7 +243,7 @@
   @decorators.check_access
   def withdraw(self, request, access_type,
                       page_name=None, params=None, **kwargs):
-    """View that allows Program Admins to withdraw Students.
+    """View that allows Program Admins to accept or withdraw Students.
 
     For params see base.View().public()
     """
@@ -308,7 +308,7 @@
   @decorators.check_access
   def acceptProject(self, request, access_type,
                       page_name=None, params=None, **kwargs):
-    """View that allows Program Admins to withdraw Students.
+    """View that allows Program Admins to accept Students.
 
     For params see base.View().public()