[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonwhatsnew.pm

raeburn raeburn at source.lon-capa.org
Fri Jan 1 10:29:14 EST 2021


raeburn		Fri Jan  1 15:29:14 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonwhatsnew.pm 
  Log:
  - For 2.11
    Backport 1.129
  
  
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.105.2.18 loncom/interface/lonwhatsnew.pm:1.105.2.19
--- loncom/interface/lonwhatsnew.pm:1.105.2.18	Tue Sep  1 22:30:58 2020
+++ loncom/interface/lonwhatsnew.pm	Fri Jan  1 15:29:14 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # What's New in a course
 #
-# $Id: lonwhatsnew.pm,v 1.105.2.18 2020/09/01 22:30:58 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.105.2.19 2021/01/01 15:29:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1139,6 +1139,11 @@
                 if (grep(/^essay$/, at types)) {
                     $handgradeable=1;
                     last;
+                } elsif (grep(/^custom$/, at types)) {
+                    if ($resource->handgrade($part) eq 'yes') {
+                        $handgradeable=1;
+                        last;
+                    }
                 }
             }
         }




More information about the LON-CAPA-cvs mailing list