<%= $station %> % for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) {
<%= $related_station->{name} %> % }
% my $status = $self->get_user_status; % my $have_connections = 0; % if ($status->{checked_in}) {
Aktuell eingecheckt

In <%= $status->{train_type} %> <%= $status->{train_no} %> ab <%= $status->{dep_name} %>

% } % elsif ($status->{cancellation} and $station eq $status->{cancellation}{dep_name}) {
%= include '_cancelled_departure', journey => $status->{cancellation};
% } % elsif ($status->{timestamp_delta} < 180) {
%= include '_checked_out', journey => $status;
% } % elsif (not param('train') and my @connections = get_connecting_trains(eva => $eva)) { % $have_connections = 1;

Häufig genutzte Verbindungen – Zug auswählen zum Einchecken mit Zielwahl

%= include '_connections', connections => \@connections, checkin_from => $eva;
% }

% if ($have_connections) { Alle Abfahrten – % } % if (@{$results}) { Zug auswählen zum Einchecken. % } % else { Keine Abfahrten gefunden. Ein Checkin ist frühestens 30 Minuten vor und maximal 120 Minuten nach Abfahrt möglich. % }

% my $orientation_bar_shown = param('train'); % my $now_epoch = now()->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; % if ($result->departure_is_cancelled) { % $td_class = "cancelled"; % $link_class = 'action-cancelled-from'; % } % if (not $orientation_bar_shown and $result->departure->epoch < $now_epoch) { % $orientation_bar_shown = 1; % } % }
— Anfragezeitpunkt —
<%= $result->line %> <%= $result->destination %> <%= $result->departure->strftime('%H:%M') %> % if ($result->departure_delay) { (<%= sprintf('%+d', $result->departure_delay) %>) % }