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

banghart lon-capa-cvs@mail.lon-capa.org
Tue, 30 May 2006 00:15:06 -0000


banghart		Mon May 29 20:15:06 2006 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  	Improved format for handback file message to student.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.357 loncom/homework/grades.pm:1.358
--- loncom/homework/grades.pm:1.357	Mon May 29 20:01:28 2006
+++ loncom/homework/grades.pm	Mon May 29 20:15:04 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.357 2006/05/30 00:01:28 banghart Exp $
+# $Id: grades.pm,v 1.358 2006/05/30 00:15:04 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2458,9 +2458,9 @@
                         ') while trying to upload '.$newflg.'_'.$part_resp.'_returndoc'.$file_counter.'</font><br />');
                     } else {
                         my $subject = "File Handed Back by Instructor ";
-                        my $message = "A file has been returned that was originally submitted in reponse to: ";
-                        $message .= &Apache::lonnet::gettitle($symb);
-                        $message .= " The returned file is named ".$save_file_name;
+                        my $message = "A file has been returned that was originally submitted in reponse to: <br />";
+                        $message .= "<strong>".&Apache::lonnet::gettitle($symb)."</strong><br />";
+                        $message .= " The returned file is named: <br /><strong>".$save_file_name."</strong><br />";
                         $message .= " and can be found in your portfolio space.";
                         &Apache::lonnet::logthis($message);
                         my $msgstatus = &Apache::lonmsg::user_normal_msg($stuname,$domain,