% 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}) { % if ($departure->{delay} < 0) { An: <%= $departure->{arrival} %> % } % else { 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->[2] and ($linetype eq 'fern' or $departure->{train_type} =~ m{NJ})) { Plan: <%= $icetype->[0] %> % } % elsif ($icetype and $icetype->[1] and $linetype eq 'fern') { Plan: <%= $icetype->[0] %> % } % for my $link (@{$departure->{links}}) { <%= $link->[0] %> % }
% if (my $u = $departure->{utilization}) {
% my ($text, $icon1, $icon2) = utilization_icon($u); <%= $text %>. 1. 2.
% } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: % } % if ($departure->{route_pre_diff} and $departure->{route_post_diff}) { Fahrtverlauf: % } % if ($departure->{has_cycle}) {
Umlaufplan (ggf. fehlerhaft)
% } % if ($details->{commonAttr}) { % if ($details->{attrVariants} and (not $details->{commonAttr}{vmax} or not $details->{commonAttr}{brakingPercentage})) {
Attribute:
% } % else {
%= include '_train_attr', attr => $details->{commonAttr}, with_station => 0
% } % } % if ($details and not $departure->{arrival}) { % if (my $s = $details->{route}{preStart}) { Zug wird voraussichtlich aus <%= $s %> eingesetzt.

% } % if (@{$departure->{cycle_from} // []}) { Bildung möglicherweise aus % } % } % elsif ($details and not $departure->{departure}) { % if (my $e = $details->{route}{postEnd}) { Zug wird voraussichtlich in <%= $e %> abgestellt.

% } % if (@{$departure->{cycle_to} // []}) { Weiterfahrt möglicherweise als % } % } % if ($icetype and not param('detailed')) {
Mehr Details
% }