diff options
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/index.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl index 531ee5e..c5180e5 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -138,8 +138,14 @@ sub handle_request { $info = "Fahrt fällt aus: ${delaymsg}"; } elsif ( $result->delay and $result->delay > 0 ) { - $info = sprintf( 'Verspätung ca %d Min.%s%s', + if ($template eq 'clean') { + $info = $delaymsg; + $delay = $result->delay; + } + else { + $info = sprintf( 'Verspätung ca. %d Min.%s%s', $result->delay, $delaymsg ? q{: } : q{}, $delaymsg ); + } } if ( $info and $qosmsg ) { $info .= ' +++ '; |