summaryrefslogtreecommitdiff
path: root/templates/_departures_hafas.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/_departures_hafas.html.ep
parenteb7000429eb07d564fed492b42f886dab6176264 (diff)
frontend: add train timestamps to checkin action
(preparations for more flexible checkin time frames)
Diffstat (limited to 'templates/_departures_hafas.html.ep')
-rw-r--r--templates/_departures_hafas.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep
index ef5585a..6e1641f 100644
--- a/templates/_departures_hafas.html.ep
+++ b/templates/_departures_hafas.html.ep
@@ -21,7 +21,7 @@
</td>
</tr>
% }
- <tr class="<%= $link_class %>" data-station="<%= $result->station_eva %>" data-train="<%= $result->id %>" data-tr="3">
+ <tr class="<%= $link_class %>" data-station="<%= $result->station_eva %>" data-train="<%= $result->id %>" data-ts="<%= ($result->sched_datetime // $result->datetime)->epoch %>" data-tr="3">
<td>
<a>
<%= $result->line %>