% my $status = $self->get_user_status; % if ($status->{checked_in}) {
Aktuell eingecheckt

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

% } % elsif ($status->{timestamp_delta} < 180) { %= include '_checked_out', journey => $status; % }
%= $station % 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. % }
% 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'; % } % }
Zug Abfahrt
<%= $result->line %> <%= $result->destination %> <%= $result->departure->strftime('%H:%M') %> % if ($result->departure_delay) { (<%= sprintf('%+d', $result->departure_delay) %>) % }