Loading lib/Travelynx.pm +1 −0 Original line number Diff line number Diff line Loading @@ -251,6 +251,7 @@ sub startup { ), station_name => ( $status->station ? $status->station->{name} : 'undef' ), related_stations => [ $status->related_stations ], }; } elsif ( @station_matches > 1 ) { Loading lib/Travelynx/Controller/Traveling.pm +5 −4 Original line number Diff line number Diff line Loading @@ -370,6 +370,7 @@ sub station { ds100 => $status->{station_ds100}, results => \@results, station => $status->{station_name}, related_stations => $status->{related_stations}, title => "travelynx: $status->{station_name}", ); } Loading templates/departures.html.ep +6 −3 Original line number Diff line number Diff line <div class="row"> <div class="col s12 center-align"><b> %= $station </b></div> <div class="col s12 center-align"> <b><%= $station %></b> % for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) { <br/><%= $related_station->{name} %> % } </div> </div> % my $status = $self->get_user_status; % my $have_connections = 0; Loading Loading
lib/Travelynx.pm +1 −0 Original line number Diff line number Diff line Loading @@ -251,6 +251,7 @@ sub startup { ), station_name => ( $status->station ? $status->station->{name} : 'undef' ), related_stations => [ $status->related_stations ], }; } elsif ( @station_matches > 1 ) { Loading
lib/Travelynx/Controller/Traveling.pm +5 −4 Original line number Diff line number Diff line Loading @@ -370,6 +370,7 @@ sub station { ds100 => $status->{station_ds100}, results => \@results, station => $status->{station_name}, related_stations => $status->{related_stations}, title => "travelynx: $status->{station_name}", ); } Loading
templates/departures.html.ep +6 −3 Original line number Diff line number Diff line <div class="row"> <div class="col s12 center-align"><b> %= $station </b></div> <div class="col s12 center-align"> <b><%= $station %></b> % for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) { <br/><%= $related_station->{name} %> % } </div> </div> % my $status = $self->get_user_status; % my $have_connections = 0; Loading