summaryrefslogtreecommitdiff
path: root/templates/_connections.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-20 18:04:32 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-20 18:04:32 +0200
commit1ba41db376e6875fa54278a41e253c34dc0f5c65 (patch)
tree4982fafcc95584b92403a15af9bc59ec6e38eb80 /templates/_connections.html.ep
parenteb7000429eb07d564fed492b42f886dab6176264 (diff)
frontend: add train timestamps to checkin action
(preparations for more flexible checkin time frames)
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r--templates/_connections.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index 98be766..cd64150 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -9,7 +9,7 @@
% $link_class = 'action-cancelled-from';
% }
% if ($checkin_from) {
- <tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via->{name} %>">
+ <tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-ts="<%= ($train->sched_departure // $train->departure)->epoch %>" data-dest="<%= $via->{name} %>">
% }
% else {
<tr>