Loading lib/Travelynx/Controller/Traveling.pm +2 −1 Original line number Diff line number Diff line Loading @@ -1379,7 +1379,8 @@ sub station { destination: for my $dest (@destinations) { for my $stop ( $dep->route_post ) { if ( $stop->full_name eq $dest->{name} ) { push( @suggestions, [ $dep, $dest ] ); push( @suggestions, [ $dep, $dest, $stop->arr ] ); next destination; } } Loading templates/_suggestions_efa.html.ep +4 −1 Original line number Diff line number Diff line <ul class="collection departures connections"> % for my $res (@{$suggestions}) { % my ($dep, $dest) = @{$res}; % my ($dep, $dest, $via_arr) = @{$res}; % my $row_class = ''; % my $link_class = 'action-checkin'; % if ($dep->is_cancelled) { Loading @@ -25,6 +25,9 @@ % else { %= $dep->datetime->strftime('%H:%M') % } % if ($via_arr) { → <%= $via_arr->strftime('%H:%M') %> % } % if ($dep->delay) { %= sprintf('(%+d)', $dep->delay) % } Loading Loading
lib/Travelynx/Controller/Traveling.pm +2 −1 Original line number Diff line number Diff line Loading @@ -1379,7 +1379,8 @@ sub station { destination: for my $dest (@destinations) { for my $stop ( $dep->route_post ) { if ( $stop->full_name eq $dest->{name} ) { push( @suggestions, [ $dep, $dest ] ); push( @suggestions, [ $dep, $dest, $stop->arr ] ); next destination; } } Loading
templates/_suggestions_efa.html.ep +4 −1 Original line number Diff line number Diff line <ul class="collection departures connections"> % for my $res (@{$suggestions}) { % my ($dep, $dest) = @{$res}; % my ($dep, $dest, $via_arr) = @{$res}; % my $row_class = ''; % my $link_class = 'action-checkin'; % if ($dep->is_cancelled) { Loading @@ -25,6 +25,9 @@ % else { %= $dep->datetime->strftime('%H:%M') % } % if ($via_arr) { → <%= $via_arr->strftime('%H:%M') %> % } % if ($dep->delay) { %= sprintf('(%+d)', $dep->delay) % } Loading