<%= $station %>

% for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) { + <%= $related_station->{name} %>
% }
% if ($api_link) {
% if (param('hafas')) { zum Schienenverkehr % } % else { zum Nahverkehr % }
% } % my $have_connections = 0; % if ($user_status->{checked_in}) {
Aktuell eingecheckt

In <%= $user_status->{train_type} %> <%= $user_status->{train_no} %> % if ( $user_status->{arr_name}) { von <%= $user_status->{dep_name} %> nach <%= $user_status->{arr_name} %> % } % else { ab <%= $user_status->{dep_name} %> % }

% } % elsif ($user_status->{cancellation} and $station eq $user_status->{cancellation}{dep_name}) {
%= include '_cancelled_departure', journey => $user_status->{cancellation};
% } % elsif ($user_status->{timestamp_delta} < 180) {
%= include '_checked_out', journey => $user_status;
% } % elsif (not param('train') and (@{stash('connections_iris') // []} or @{stash('connections_hafas') // []}) ) { % $have_connections = 1;

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

% if (@{stash('connections_iris') // []}) { %= include '_connections', connections => stash('connections_iris'), checkin_from => $eva; % } % if (@{stash('connections_hafas') // []}) { %= include '_connections_hafas', connections => stash('connections_hafas'), checkin_from => $eva; % }
% }
% if ($hafas) { früher % }
% if ($now_in_range) { Jetzt % }
% if ($hafas) { später % }

% if ($have_connections) { Alle Abfahrten – % } % if ($user_status->{checked_in} and not $can_check_out) { Diese Station liegt nicht auf der Route deines aktuellen Checkins. Falls du aktuell nicht mit <%= $user_status->{train_type} %> <%= $user_status->{train_no} %> unterwegs bist, kannst du den Checkin rückgängig machen. Falls es sich bei <%= $station %> um einen nicht in den Echtzeitdaten abgebildeten Zusatzhalt handelt, kannst du hier auchecken. Da travelynx nicht weiß, welcher der beiden Fälle zutrifft, sind bis dahin keine neuen Checkins möglich. % } % elsif ($user_status->{checked_in} and not $user_status->{arr_eva}) { Du bist bereits eingecheckt und hast noch kein Fahrtziel angegeben. Bitte wähle zunächst ein Ziel. Neue Checkins sind erst nach Ankunft der aktuellen Fahrt möglich. % } % elsif ($user_status->{checked_in} and $user_status->{arrival_countdown} > 0) { Deine aktuelle Fahrt ist noch unterwegs. Ein neuer Checkin ist erst nach Ankunft am ausgewählten Ziel möglich. % } % elsif (@{$results}) { Fahrt auswählen zum Einchecken. % } % else { Keine Abfahrten gefunden. Ein Checkin ist frühestens 30 Minuten vor und maximal 120 Minuten nach Abfahrt möglich. % }

% if (not $user_status->{checked_in} or ($can_check_out and $user_status->{arr_eva} and $user_status->{arrival_countdown} <= 0)) { % if ($hafas) { %= include '_departures_hafas', results => $results; % } % else { %= include '_departures_iris', results => $results; % } % }