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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 18 Oct 2004 19:37:10 -0000


albertel		Mon Oct 18 15:37:10 2004 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - pprettify error message
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.221 loncom/homework/grades.pm:1.222
--- loncom/homework/grades.pm:1.221	Thu Oct 14 16:39:34 2004
+++ loncom/homework/grades.pm	Mon Oct 18 15:37:10 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.221 2004/10/14 20:39:34 albertel Exp $
+# $Id: grades.pm,v 1.222 2004/10/18 19:37:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1411,7 +1411,8 @@
 
     if (!&canview($usec)) {
 	$request->print('<font color="red">Unable to view requested student.('.
-			$uname.$udom.$usec.$ENV{'request.course.id'}.')</font>');
+			$uname.'@'.$udom.' in section '.$usec.' in course id '.
+			$ENV{'request.course.id'}.')</font>');
 	$request->print(&show_grading_menu_form($symb,$url));
 	return;
     }