summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-11-01 20:11:46 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-11-01 20:11:46 +0100
commit6a6d4e52ffb2bd53539a4ab6356619ee4560bbf9 (patch)
treef266f3b52d45e12e7664671905c2518b128d3c4a
parente19fc507c5f333c4c86ec8fe11389ef3b054ee44 (diff)
index: also show additional stops
-rw-r--r--index.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index a495f08..14c5381 100644
--- a/index.pl
+++ b/index.pl
@@ -214,6 +214,12 @@ 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 {