% if ($departure->{scheduled_platform} or $departure->{platform}) { Gleis <%= $departure->{scheduled_platform} // $departure->{platform} %> % } % if ($departure->{scheduled_platform} and $departure->{platform} % and $departure->{scheduled_platform} ne $departure->{platform}) { (heute Gleis <%= $departure->{platform} %>) % } % elsif ($departure->{changed_platform}) { (Gleiswechsel) % }
% my ($arr_time, $dep_time); % if ($departure->{sched_arrival}) { % $arr_time = $departure->{sched_arrival}; % if ($departure->{arrival} and $departure->{arrival} ne $departure->{sched_arrival}) { % $arr_time .= ' (heute ' . $departure->{arrival} . ')'; % } % } % if ($departure->{sched_departure}) { % $dep_time = $departure->{sched_departure}; % if ($departure->{departure} and $departure->{departure} ne $departure->{sched_departure}) { % $dep_time .= ' (heute ' . $departure->{departure} . ')'; % } % } % if (not $departure->{is_cancelled}) {
% if ($departure->{sched_arrival}) { Ankunft: <%= $arr_time %>
% } % if ($departure->{sched_departure}) { Abfahrt: <%= $dep_time %>
% } % if (not ($departure->{sched_arrival} or $departure->{sched_departure})) { Abfahrt: <%= $departure->{time} %> % if ($departure->{delay}) { (heute +<%= $departure->{delay} %>) % } % }
% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) {
% if ($departure->{wr_link}) { Wagenreihung % } % if ($icetype and $icetype->[1]) { (Plan: <%= $icetype->[0] %>)
% }
% } % if ($departure->{trip_id}) {
Karte
% } % } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: % } % if ($departure->{route_pre_diff} and $departure->{route_post_diff}) { Fahrtverlauf: % }