diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index ca2a6ba..d84ac76 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -1,4 +1,4 @@ -
+
% for my $res (@{$connections}) { % my ($train, $via) = @{$res}; % my $td_class = ''; @@ -28,7 +28,6 @@ % else { %= $via % } -
% if ($train->{message_id}{96} or $train->{message_id}{97}) { warning % } @@ -51,72 +50,9 @@ ⊖ % } % else { - %= $train->departure->strftime('%H:%M') - % if ($train->departure_delay) { - %= sprintf('(%+d)', $train->departure_delay) - % } - % if ($train->{interchange_icon}) { - <%= $train->{interchange_icon} %> - % } % if ($train->platform) { -
Gleis <%= $train->platform %> + Gleis <%= $train->platform %>
% } - % } - - - % } -
-
- % for my $res (@{$connections}) { - % my ($train, $via) = @{$res}; - % my $td_class = ''; - % my $link_class = 'action-checkin'; - % if ($train->departure_is_cancelled) { - % $td_class = 'cancelled'; - % $link_class = 'action-cancelled-from'; - % } - % if ($checkin_from) { - - % } - % else { - - % } - - - % }
- % if ($checkin_from) { - <%= $train->line %> - % } - % else { - %= $train->line - % } - - % if ($checkin_from) { - <%= $via %> - % } - % else { - %= $via - % } - % if ($train->{message_id}{96} or $train->{message_id}{97}) { - warning - % } - % if ($train->{message_id}{82} or $train->{message_id}{85}) { - people - % } - % 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 - % } - - % if ($train->departure_is_cancelled) { - %= $train->sched_departure->strftime('%H:%M') - % } - % else { %= $train->departure->strftime('%H:%M') % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) @@ -125,13 +61,6 @@ <%= $train->{interchange_icon} %> % } % } - - % if ($train->platform and not $train->departure_is_cancelled) { - Gleis <%= $train->platform %> - % } - % elsif ($train->departure_is_cancelled) { - fällt aus - % }