mirror of https://github.com/mikaku/Monitorix.git
fixed the title in the header of the page to match with the current 'when=' value
This commit is contained in:
parent
9010d71bde
commit
880d2c5cab
|
@ -477,12 +477,14 @@ EOF
|
|||
}
|
||||
}
|
||||
$title =~ s/ / /g;
|
||||
my $twhen = $tf{nwhen} > 1 ? "$tf{nwhen} $tf{twhen}" : $tf{twhen};
|
||||
$twhen .= "s" if $tf{nwhen} > 1;
|
||||
print(" <font size='5'><b> $title </b></font>\n");
|
||||
print(" </font>\n");
|
||||
print(" </td>\n");
|
||||
print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
|
||||
print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
|
||||
print(" <font size='5'><b> last $tf{twhen} </b></font>\n");
|
||||
print(" <font size='5'><b> last $twhen </b></font>\n");
|
||||
print(" </font>\n");
|
||||
print(" </td>\n");
|
||||
print(" </tr>\n");
|
||||
|
|
Loading…
Reference in New Issue