--- loncom/interface/lonstatistics.pm 2012/05/03 11:21:27 1.156 +++ loncom/interface/lonstatistics.pm 2013/03/06 11:39:00 1.157 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.156 2012/05/03 11:21:27 goltermann Exp $ +# $Id: lonstatistics.pm,v 1.157 2013/03/06 11:39:00 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -691,7 +691,7 @@ sub DisplayClasslist { } $Str .= '
'.&mt("Click on a student's name or username to view their chart").'
' + .''.&mt("Click on a student's name or username to view their chart.").'
' .&Apache::loncommon::start_data_table() .&Apache::loncommon::start_data_table_header_row(); foreach my $field (@Fields) { @@ -715,12 +715,16 @@ sub DisplayClasslist { $Str .= '&sort='.&escape($env{'form.sort'}); $Str .= '&SelectedStudent='; $Str .= &escape($sname).'">'; - $Str .= $student->{$field}.' '; + $Str .= $student->{$field}; $Str .= ''; } elsif ($field eq 'status') { $Str .= &mt($student->{$field}); } else { - $Str .= $student->{$field}; + if ($student->{$field} eq 'none') { + $Str .= &mt('none') + } else { + $Str .= $student->{$field}; + } } $Str .= ''; }