Fixed message on Records page for GradingSurveyGroups.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 14 Jul 2009 19:06:53 +0200
changeset 2650 6adbb87b91db
parent 2649 7faecb7f2765
child 2651 842c0f11fc1e
Fixed message on Records page for GradingSurveyGroups.
app/soc/views/models/grading_survey_group.py
--- a/app/soc/views/models/grading_survey_group.py	Tue Jul 14 18:44:33 2009 +0200
+++ b/app/soc/views/models/grading_survey_group.py	Tue Jul 14 19:06:53 2009 +0200
@@ -289,7 +289,7 @@
       fields = {'last_update_started': datetime.datetime.now()}
       survey_group_logic.updateEntityProperties(entity, fields)
 
-      context['message'] = 'Updating GradingRecords successfully started.'
+      context['message'] = 'Grading Records update successfully started.'
 
     if post_dict.get('update_projects'):
       # start the task to update all StudentProjects for the given group
@@ -300,7 +300,7 @@
       new_task = taskqueue.Task(params=task_params, url=task_url)
       new_task.add()
 
-      context['message'] = 'Updating StudentProjects successfully started.'
+      context['message'] = 'Student Projects update successfully started.'
 
     if post_dict.get('update_projects_and_mail'):
       # Start the task to update all StudentProjects for the given group and
@@ -313,8 +313,8 @@
       new_task = taskqueue.Task(params=task_params, url=task_url)
       new_task.add()
 
-      context['message'] = ('Updating StudentProjects successfully started. '
-                           'And sending out e-mail with the results.')
+      context['message'] = ('Student Projects update successfully started. '
+                            'And sending out e-mail with the results.')
 
     list_params = params.copy()
     list_params['logic'] = record_logic