# HG changeset patch
# User devi
# Date 1138380263 -7200
# Node ID 563e3ee69ce86dda045211608c3bfb6238604c1f
# Parent  b7a217f8e963c6b281e6c9c575a01e7c4a7e9190
Исправленияэ

diff -r b7a217f8e963 -r 563e3ee69ce8 l3-frontend
--- a/l3-frontend	Fri Jan 27 09:53:10 2006 +0200
+++ b/l3-frontend	Fri Jan 27 18:44:23 2006 +0200
@@ -572,13 +572,17 @@
         elsif ($seconds_since_last_command > 600) {
             my $height = $seconds_since_last_command > 1200 ? 100: 60;
             my $minutes_passed =  int($seconds_since_last_command/60);
-            my $minutes_word = $minutes_passed % 10 == 1 ? "минута":
+
+
+            my $minutes_word = $minutes_passed % 100 > 10 
+                            && $minutes_passed % 100 < 20 ? "минут" :
+                               $minutes_passed % 10 == 1 ? "минута":
                                $minutes_passed % 10 == 0 ? "минут" :
                                $minutes_passed % 10  > 4 ? "минут" :
                                                            "минуты";
 
             $this_day_result .= "<tr height='60'>"
-                             .  "<td colspan='4' height='$height'>"
+                             .  "<td colspan='5' height='$height'>"
                              .  "<font size='-1'>"
                              .  "прошло ".$minutes_passed." ".$minutes_word
                              .  "</font>"
@@ -601,11 +605,22 @@
 
 # TIME
         $this_day_result .= $Config{"show_time"} =~ /^y/i
-                 ? "<td valign='top' class='time' width='$Config{time_width}'>$hour:$min:$sec</td>"
+                 ? "<td width='100' valign='top' class='time' width='$Config{time_width}'>$hour:$min:$sec</td>"
                  : "<td width='0'/>";
 
 # CLASS
-        $this_day_result .= "<td width='20' valign='top'>F</td>";
+        if ($cl->{"err"}) {
+            $this_day_result .= "<td width='8' valign='top'>"
+                             .  "<table><tr><td width='8' height='8' class='err_box'>"
+                             .  "E"
+                             .  "</td></tr></table>"
+                             .  "</td>";
+        }
+        else {
+            $this_day_result .= "<td width='10' valign='top'>"
+                             .  " "
+                             .  "</td>";
+        }
 
 # COMMAND
         my $hint = make_comment($cl->{"cline"});