version 1.279, 2011/03/05 20:06:33
|
version 1.280, 2011/03/05 20:32:02
|
Line 1525 sub previous_tries {
|
Line 1525 sub previous_tries {
|
my $awarded = $Apache::lonhomework::history{"$prefix.awarded"}; |
my $awarded = $Apache::lonhomework::history{"$prefix.awarded"}; |
my $txt_correct = &mt('Correct'); |
my $txt_correct = &mt('Correct'); |
if ($awarded < 1 && $awarded > 0) { |
if ($awarded < 1 && $awarded > 0) { |
$txt_correct=&mt('Partially correct'); |
$txt_correct=&mt('Partially Correct'); |
} elsif ($awarded < 1) { |
} elsif ($awarded < 1) { |
if ($awarded eq '') { |
if ($awarded eq '') { |
$txt_correct=''; |
$txt_correct=''; |