[LON-CAPA-cvs] cvs: loncom /homework grades.pm

www www@source.lon-capa.org
Thu, 07 May 2009 15:47:06 -0000


www		Thu May  7 15:47:06 2009 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  We are not saving the students themselves.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.569 loncom/homework/grades.pm:1.570
--- loncom/homework/grades.pm:1.569	Wed May  6 16:19:26 2009
+++ loncom/homework/grades.pm	Thu May  7 15:47:06 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.569 2009/05/06 16:19:26 bisitz Exp $
+# $Id: grades.pm,v 1.570 2009/05/07 15:47:06 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4090,7 +4090,7 @@
 	   $countdone++;
         }
     }
-    $request->print('<br /><span class="LC_info">'.&mt("Saved [_1] students",$countdone)."</span>\n");
+    $request->print('<br />'.&Apache::lonhtmlcommon::confirm_success(&mt("Saved scores for [quant,_1,student]",$countdone),$countdone==0));
     if (@skipped) {
 	$request->print('<p><span class="LC_warning">'.&mt('Skipped Students').'</span></p>');
 	foreach my $student (@skipped) { $request->print("$student<br />\n"); }