% for my $res (@{$connections}) {
% my ($train, $via, $via_arr, $load) = @{$res};
% $via_arr = $via_arr ? $via_arr->strftime('%H:%M') : q{};
% my $row_class = '';
% my $link_class = 'action-checkin';
% if ($train->is_cancelled) {
% $row_class = 'cancelled';
% $link_class = 'action-cancelled-from';
% }
% if ($checkin_from) {
-
% }
% else {
-
% }
% if ($train->departure_is_cancelled) {
%= $train->sched_departure->strftime('%H:%M')
% }
% else {
%= $train->departure->strftime('%H:%M')
% }
% if ($via_arr) {
→ <%= $via_arr %>
% }
% if ($train->departure_delay) {
%= sprintf('(%+d)', $train->departure_delay)
% }
% if ($train->platform) {
Gleis <%= $train->platform %>
% }
%= $train->line
% if ($train->is_cancelled) {
Fahrt nach <%= $via->{name} %> entfällt
% }
% else {
%= $via->{name}
% }
% if ($load) {
% my ($first, $second) = load_icon($load);
<%= $first %> <%= $second %>
% }
% if ($train->{interchange_icon}) {
<%= $train->{interchange_icon} %>
% }
% if ($train->{message_id}{96} or $train->{message_id}{97}) {
warning
% }
% if ($train->{message_id}{82} or $train->{message_id}{85}) {
remove
% }
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
compare_arrows
% }
% if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) {
info_outline
% }
% if ($train->{message_id}{70} or $train->{message_id}{71}) {
portable_wifi_off
% }
% }