diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 20:11:46 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-11-01 20:11:46 +0100 |
commit | 6a6d4e52ffb2bd53539a4ab6356619ee4560bbf9 (patch) | |
tree | f266f3b52d45e12e7664671905c2518b128d3c4a /index.pl | |
parent | e19fc507c5f333c4c86ec8fe11389ef3b054ee44 (diff) |
index: also show additional stops
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 { |