Added some helpful text to the Student Project Withdraw view.
--- a/app/soc/views/models/student_project.py Sun Aug 02 23:45:42 2009 +0200
+++ b/app/soc/views/models/student_project.py Sun Aug 02 23:51:55 2009 +0200
@@ -263,9 +263,11 @@
ap_params = params.copy() # accepted projects
- ap_params['list_action'] = (redirects.getWithdrawProjectRedirect, ap_params)
+ ap_params['list_action'] = (redirects.getWithdrawProjectRedirect,
+ ap_params)
ap_params['list_description'] = ugettext(
- "An overview of accepted and completed Projects.")
+ "An overview of accepted and completed Projects."
+ "Click on a project to withdraw it.")
ap_list = lists.getListContent(
request, ap_params, fields, idx=0)
@@ -276,7 +278,8 @@
wp_params['list_action'] = (redirects.getAcceptProjectRedirect, wp_params)
wp_params['list_description'] = ugettext(
- "An overview of withdrawn Projects.")
+ "An overview of withdrawn Projects."
+ "Click on a project to undo the withdrawal.")
wp_list = lists.getListContent(
request, wp_params, fields, idx=1)