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

raeburn raeburn at source.lon-capa.org
Mon Dec 9 17:01:01 EST 2024


raeburn		Mon Dec  9 22:01:01 2024 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Fix indents and add missing closing curly brace.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.799 loncom/homework/grades.pm:1.800
--- loncom/homework/grades.pm:1.799	Mon Dec  9 21:39:48 2024
+++ loncom/homework/grades.pm	Mon Dec  9 22:01:01 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.799 2024/12/09 21:39:48 raeburn Exp $
+# $Id: grades.pm,v 1.800 2024/12/09 22:01:01 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4249,16 +4249,17 @@
 			} else {
                             $pbcollab{$collaborator}{$part} = [$pts,$wgt];
                             if ($message ne '') {
-			    my ($baseurl,$showsymb) = 
-				&get_feedurl_and_symb($symb,$collaborator,
-						      $udom);
-			    if ($env{'form.withgrades'.$ctr}) {
-				$messagetail = " for <a href=\"".
-                                    $baseurl."?symb=$showsymb\">$restitle</a>";
+			        my ($baseurl,$showsymb) = 
+				    &get_feedurl_and_symb($symb,$collaborator,
+					   	          $udom);
+			        if ($env{'form.withgrades'.$ctr}) {
+				    $messagetail = " for <a href=\"".
+                                        $baseurl."?symb=$showsymb\">$restitle</a>";
+			        }
+			        $msgstatus =
+				    &Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle);
 			    }
-			    $msgstatus = 
-				&Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle);
-			}
+		        }
 		    }
 		}
 	    }




More information about the LON-CAPA-cvs mailing list