Loading templates/departures.html.ep +14 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ </p> <table class="striped"> <tbody> % my $orientation_bar_shown = param('train'); % my $now_epoch = now()->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; Loading @@ -65,6 +67,18 @@ % $td_class = "cancelled"; % $link_class = 'action-cancelled-from'; % } % if (not $orientation_bar_shown and $result->departure->epoch < $now_epoch) { % $orientation_bar_shown = 1; <tr> <td> </td> <td> — Anfragezeitpunkt — </td> <td> </td> </tr> % } <tr> <td> <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>"> Loading Loading
templates/departures.html.ep +14 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ </p> <table class="striped"> <tbody> % my $orientation_bar_shown = param('train'); % my $now_epoch = now()->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; Loading @@ -65,6 +67,18 @@ % $td_class = "cancelled"; % $link_class = 'action-cancelled-from'; % } % if (not $orientation_bar_shown and $result->departure->epoch < $now_epoch) { % $orientation_bar_shown = 1; <tr> <td> </td> <td> — Anfragezeitpunkt — </td> <td> </td> </tr> % } <tr> <td> <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>"> Loading