% if ($departure->{is_cancelled} and $departure->{sched_arrival}) { An: ––:––
Plan: <%= $departure->{sched_arrival} %> % } % elsif ($departure->{arrival_is_cancelled}) { Beginnt hier
Plan: <%= $departure->{sched_arrival} %> % } % elsif ($departure->{arrival}) { % if ($departure->{arrival} ne $departure->{sched_arrival}) { An: <%= $departure->{arrival} %>
Plan: <%= $departure->{sched_arrival} %> % } % else { An: <%= $departure->{arrival} %> % } % }
% if ($departure->{arrival_is_cancelled} and $departure->{departure_is_cancelled}) { Fahrt fällt aus % } % else { % my $left = ''; % my $right = ''; % if ($departure->{direction} and $departure->{direction} eq 'l') { % $left = '◀ '; % } % elsif ($departure->{direction} and $departure->{direction} eq 'r') { % $right = ' ▶'; % } % if ($departure->{scheduled_platform} and $departure->{platform} % and $departure->{scheduled_platform} ne $departure->{platform}) { <%= $left %>Gleis <%= $departure->{platform} %><%= $right %> % } % elsif ($departure->{scheduled_platform} or $departure->{platform}) { <%= $left %>Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %><%= $right %> % } % }
% if ($departure->{is_cancelled} and $departure->{sched_departure}) { Ab: ––:––
Plan: <%= $departure->{sched_departure} %> % } % elsif ($departure->{departure_is_cancelled}) { Endet hier
Plan: <%= $departure->{sched_departure} %> % } % elsif ($departure->{departure}) { % if ($departure->{departure} ne $departure->{sched_departure}) { Ab: <%= $departure->{departure} %>
Plan: <%= $departure->{sched_departure} %> % } % else { Ab: <%= $departure->{departure} %> % } % }
% if ($departure->{trip_id}) { Karte % } % if ($departure->{wr_link}) { Wagenreihung % } % elsif ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus') { Plan: <%= $icetype->[0] %> % } % for my $link (@{$departure->{links}}) { <%= $link->[0] %> % }
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: % } % if ($departure->{route_pre_diff} and $departure->{route_post_diff}) { Fahrtverlauf: % } % if (param('ajax')) {
Link
% }