summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl17
1 files changed, 11 insertions, 6 deletions
diff --git a/index.pl b/index.pl
index 2d4eb37..14b4a61 100644
--- a/index.pl
+++ b/index.pl
@@ -241,6 +241,17 @@ sub handle_request {
}
$info .= $qosmsg;
+ if ( $result->additional_stops and not $result->is_cancelled ) {
+ my $additional_line = join( q{, }, $result->additional_stops );
+ $info
+ = 'Zusätzliche Halte: '
+ . $additional_line
+ . ( $info ? ' +++ ' : q{} )
+ . $info;
+ push( @{$moreinfo},
+ [ 'Zusätzliche Halte', $additional_line ] );
+ }
+
if ( $result->canceled_stops and not $result->is_cancelled ) {
my $cancel_line = join( q{, }, $result->canceled_stops );
$info
@@ -251,12 +262,6 @@ sub handle_request {
push( @{$moreinfo}, [ 'Ohne Halt in', $cancel_line ] );
}
- if ( $result->additional_stops and not $result->is_cancelled ) {
- my $additional_line = join( q{, }, $result->additional_stops );
- push( @{$moreinfo},
- [ 'Zusätzliche Halte', $additional_line ] );
- }
-
push( @{$moreinfo}, $result->messages );
}
else {