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

raeburn raeburn at source.lon-capa.org
Sun Mar 17 21:28:27 EDT 2013


raeburn		Mon Mar 18 01:28:27 2013 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonstatistics.pm 
  Log:
  - For 2.11
    - Backport 1.157.
  
  
Index: loncom/interface/lonstatistics.pm
diff -u loncom/interface/lonstatistics.pm:1.156.2.1 loncom/interface/lonstatistics.pm:1.156.2.2
--- loncom/interface/lonstatistics.pm:1.156.2.1	Thu May 10 18:47:29 2012
+++ loncom/interface/lonstatistics.pm	Mon Mar 18 01:28:27 2013
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstatistics.pm,v 1.156.2.1 2012/05/10 18:47:29 raeburn Exp $
+# $Id: lonstatistics.pm,v 1.156.2.2 2013/03/18 01:28:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -691,7 +691,7 @@
     }
 
     $Str .= '<h2>'.&mt('Select One Student').'</h2>'
-           .'<p>'.&mt("Click on a student's name or username to view their chart").'</p>'
+           .'<p>'.&mt("Click on a student's name or username to view their chart.").'</p>'
            .&Apache::loncommon::start_data_table()
            .&Apache::loncommon::start_data_table_header_row();
     foreach my $field (@Fields) {
@@ -715,11 +715,16 @@
                 $Str .= '&sort='.&escape($env{'form.sort'});
                 $Str .= '&SelectedStudent=';
                 $Str .= &escape($sname).'">';
-                $Str .= $student->{$field}.' ';
+                $Str .= $student->{$field};
                 $Str .= '</a>';
             } elsif ($field eq 'status') {
                 $Str .= &mt($student->{$field});
             } else {
+                if ($student->{$field} eq 'none') {
+                    $Str .= &mt('none')
+                } else {
+                    $Str .= $student->{$field};
+                }
                 $Str .= $student->{$field};
             }
             $Str .= '</td>';




More information about the LON-CAPA-cvs mailing list