% if (@{$departures}) {
% my $i = 0;
% for my $departure (@{$departures}) {
% $i++;
%= $departure->{platform}
%= $departure->{time}
%= $departure->{train}
% my $via_max = @{$departure->{via}};
% my $via_cur = 0;
% for my $stop (@{$departure->{via}}) {
% $via_cur++;
<%= $stop %><% if ($via_cur < $via_max) { %> - <% } %>
% }
%= $departure->{destination}
% if ($departure->{info}) {
%= $departure->{info}
% }
% }
% }
% else {
DB-Fakedisplay displays the next departures at a DB station, just like the big
LC display in the station itself.
% }