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

raeburn raeburn at source.lon-capa.org
Thu Sep 4 09:49:06 EDT 2025


raeburn		Thu Sep  4 13:49:06 2025 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Bug 6623
    Add some more space around warning messages generated when processing
    updates to fractional credit for late submission.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.826 loncom/homework/grades.pm:1.827
--- loncom/homework/grades.pm:1.826	Thu Sep  4 05:05:16 2025
+++ loncom/homework/grades.pm	Thu Sep  4 13:49:06 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.826 2025/09/04 05:05:16 raeburn Exp $
+# $Id: grades.pm,v 1.827 2025/09/04 13:49:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2304,23 +2304,23 @@
                     } else {
                         $submittext = '← '.&mt('Previous');
                         $newcommand = 'displaygrace';
-                        $result .= '<span class="LC_warning">'.
+                        $result .= '<p class="LC_warning">'.
                                    &mt('Student(s) or part(s) selected for updates to fractional credit do not have existing fractional credit for submission(s) between due date and end of grace period.').
-                                   '</span>';
+                                   '</p>';
                     }
                 } else {
                     $submittext = '← '.&mt('Previous');
                     $newcommand = 'displaygrace';
-                    $result .= '<span class="LC_warning">'.
+                    $result .= '<p class="LC_warning">'.
                                &mt('No students selected for updates to fractional credit').
-                               '</span>';
+                               '</p>';
                 }
             } else {
                 $submittext = '← '.&mt('Previous');
                 $newcommand = 'initialgrace';
-                $result .= '<span class="LC_warning">'.
+                $result .= '<p class="LC_warning">'.
                            &mt('No fractional credit for late submissions applies to students in this '.lc($crstype).'.').
-                           '</span>';
+                           '</p>';
             }
         } else {
             $submittext = '← '.&mt('Previous');




More information about the LON-CAPA-cvs mailing list