--- loncom/interface/lonstatistics.pm 2003/05/29 21:44:53 1.73
+++ loncom/interface/lonstatistics.pm 2003/06/10 19:19:57 1.76
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstatistics.pm,v 1.73 2003/05/29 21:44:53 matthew Exp $
+# $Id: lonstatistics.pm,v 1.76 2003/06/10 19:19:57 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -519,10 +519,8 @@ sub PrepareCourseData {
my $name_length = length($seq->{'title'});
my $num_parts = $seq->{'num_assess_parts'};
#
- # The number of columns needed for the summation text:
- # " 1/5" = 1+3 columns, " 10/99" = 1+5 columns
- my $sum_length = 1+1+2*(length($num_parts));
- my $num_col = $num_parts+$sum_length;
+ # Use 3 digits for each the sum and total, which means 7 total...
+ my $num_col = $num_parts+7;
if ($num_col < $name_length) {
$num_col = $name_length;
}
@@ -807,6 +805,8 @@ sub DisplayClasslist {
my @Fields = ('fullname','username','domain','id','section');
#
my $Str='';
+ # "Click" is asinine but it is probably not my place to change the world.
+ $Str .= '
Click on a users name to view their chart
';
$Str .= ''."\n";
$Str .= ''."\n";
foreach my $field (@Fields) {
@@ -858,18 +858,10 @@ sub CreateMainMenu {
my $Str = '';
#
$Str .= '
|