From 0f6870df13362a6af5d95a0fddd970559acb42bd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Nov 2020 19:52:13 +0100 Subject: Fix train detail view for split stations Was broken when the train's station did not match the requested one --- templates/app.html.ep | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/app.html.ep') diff --git a/templates/app.html.ep b/templates/app.html.ep index f0143cc..ec36f03 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -36,6 +36,7 @@ data-linetype="<%= $departure->{linetype} %>" data-from="<%= $departure->{origin} // q{???} %>" data-to="<%= $departure->{destination} // q{???} %>" + data-station="<%= $departure->{station} // $station %>" data-platform="<%= $departure->{scheduled_platform} // $departure->{platform} // '' %>" data-arrival="<%= $departure->{sched_arrival} // '' %>" data-departure="<%= $departure->{sched_departure} // '' %>" -- cgit v1.2.3