[LON-CAPA-cvs] cvs: doc /loncapafiles loncapafiles.lpml loncom/html/res/adm/pages accesstimes.png loncom/interface lonparmset.pm

raeburn raeburn at source.lon-capa.org
Sun Sep 7 10:05:37 EDT 2025


raeburn		Sun Sep  7 14:05:37 2025 EDT

  Added files:                 
    /loncom/html/res/adm/pages	accesstimes.png 

  Modified files:              
    /loncom/interface	lonparmset.pm 
    /doc/loncapafiles	loncapafiles.lpml 
  Log:
  - Add "Show Start Times for Students' Quiz/Exam Timers" icon/link for users
    with vgr or mgr priv to "Content Settings for this Course menus". 
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.628 loncom/interface/lonparmset.pm:1.629
--- loncom/interface/lonparmset.pm:1.628	Fri Aug 29 15:53:47 2025
+++ loncom/interface/lonparmset.pm	Sun Sep  7 14:05:36 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.628 2025/08/29 15:53:47 raeburn Exp $
+# $Id: lonparmset.pm,v 1.629 2025/09/07 14:05:36 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7057,15 +7057,6 @@
                      setoverview     => 'Display existing resource parameters in overview mode.',
                      );
     }
-    if ($mgr) {
-        $linktext{'resettimes'} = 'Reset Student Access Times';
-        $linktitle{'resettimes'} = "Reset access times for folders/maps, resources or the $lc_crstype.";
-        $url{'resettimes'} = '/adm/helper/resettimes.helper';
-    } elsif ($vgr) {
-        $linktext{'resettimes'} = 'Display Student Access Times',
-        $linktitle{'resettimes'} = "Display access times for folders/maps, resources or the $lc_crstype.",
-        $url{'resettimes'} = '/adm/accesstimes';
-    }
     my @menu =
         ( { categorytitle=>"Content Settings for this $crstype",
         items => [
@@ -7075,12 +7066,18 @@
             linktitle => "Restrict metadata for this $lc_crstype." ,
             icon =>'contact-new.png'   ,
             },
-          { linktext => $linktext{'resettimes'},
-            url => $url{'resettimes'},
-            permission => ($vgr || $mgr),
-            linktitle => $linktitle{'resettimes'},
+          { linktext => 'Reset Student Access Times',
+            url => '/adm/helper/resettimes.helper',
+            permission => $mgr,
+            linktitle => "Reset access times for folders/maps, resources or the $lc_crstype.",
             icon => 'start-here.png',
             },
+          { linktext => "Show Start Times for Students' Quiz/Exam Timers",
+            url => '/adm/accesstimes',
+            permission => ($vgr || $mgr),
+            linktitle => "Display when timer was started by students for folders/maps, resources or the $lc_crstype.",
+            icon => 'accesstimes.png',
+            },
           { linktext => 'Blocking Communication/Resource Access',
             url => '/adm/setblock',
             permission => ($vcb || $dcm),
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.1080 doc/loncapafiles/loncapafiles.lpml:1.1081
--- doc/loncapafiles/loncapafiles.lpml:1.1080	Sun Sep  7 04:21:15 2025
+++ doc/loncapafiles/loncapafiles.lpml	Sun Sep  7 14:05:37 2025
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- loncapafiles.lpml -->
 
-<!-- $Id: loncapafiles.lpml,v 1.1080 2025/09/07 04:21:15 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.1081 2025/09/07 14:05:37 raeburn Exp $ -->
 
 <!--
 
@@ -8573,6 +8573,7 @@
 <filenames>
 archive.png;
 aboutme.png;
+accesstimes.png;
 addClickerInfoFile.png;
 anonsurveythreshold.png;
 bubblesheet.png;




More information about the LON-CAPA-cvs mailing list