diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-11-22 19:52:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-11-22 19:52:13 +0100 |
commit | 0f6870df13362a6af5d95a0fddd970559acb42bd (patch) | |
tree | a6e7136a6a4aef13aafa5f45f3126bba7b9f6095 /templates/app.html.ep | |
parent | f8f4b9f1be84b54bedf8cf36a1c6a4ede89b362c (diff) |
Fix train detail view for split stations3.4.9
Was broken when the train's station did not match the requested one
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r-- | templates/app.html.ep | 1 |
1 files changed, 1 insertions, 0 deletions
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} // '' %>" |