summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-03-29 16:42:24 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-03-29 16:42:47 +0100
commit0252ff2697d80c10c2932893995f0e77f85a38ec (patch)
tree36eba7f269cf07ce2daa7d0553c5a8f01dafe1c5 /templates
parent84d6e23c494eea178cfe55c215ecec2b7c547195 (diff)
pass train suffix (which is sometimes line ID) on to InTransit->add
Closes #217
Diffstat (limited to 'templates')
-rw-r--r--templates/_departures_dbris.html.ep1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/_departures_dbris.html.ep b/templates/_departures_dbris.html.ep
index 14426e8..06f2ee9 100644
--- a/templates/_departures_dbris.html.ep
+++ b/templates/_departures_dbris.html.ep
@@ -21,6 +21,7 @@
data-dbris="<%= $dbris %>"
data-station="<%= $result->stop_eva %>"
data-train="<%= $result->id %>"
+ data-suffix="<%= $result->maybe_line_no %>"
data-ts="<%= ($result->sched_dep // $result->dep)->epoch %>"
>
<a class="dep-time" href="#">