[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentsubmissions.pm

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 23 Feb 2005 19:41:28 -0000


matthew		Wed Feb 23 14:41:28 2005 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentsubmissions.pm 
  Log:
  Add 'Part ' to the display of part names/ids.
  
  
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.34 loncom/interface/statistics/lonstudentsubmissions.pm:1.35
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.34	Tue Feb 22 20:21:46 2005
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Wed Feb 23 14:41:27 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.34 2005/02/23 01:21:46 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.35 2005/02/23 19:41:27 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -267,6 +267,9 @@
                 if ($partid =~/^\d+$/) {
                     $tmpname = $prob->part_display($partid);
                 }
+                if ($tmpname !~ /^part/) {
+                    $tmpname = 'Part '.$tmpname;
+                }
                 $headers{'part'} .= qq{<th colspan="$part_span">$tmpname</th>};
                 $nonempty_part_headers = 1;
             } else {