diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 09:38:41 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 09:38:41 +0200 |
commit | a5e86699810f933444e3c3fbca3079d9caa362ae (patch) | |
tree | 3a9fe3914cbb2ef039dd5425201e801d16d343cd /templates | |
parent | 19936c51bd4ac85c45e583f69f327e514dba99d4 (diff) |
update entire moreinfo header via javascript
Diffstat (limited to 'templates')
-rw-r--r-- | templates/app.html.ep | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep index abfd79a..df4bb6f 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -48,7 +48,9 @@ % $linetype = 'ext'; % } <li - data-train="<%= ($departure->{train_type} // '') %> <%= ($departure->{train_no} // $departure->{train} // '') %>" + data-train="<%= ($departure->{train_type} // q{}) %> <%= ($departure->{train_no} // $departure->{train} // q{}) %>" + data-line="<%= $departure->{train_type} %> <%= $departure->{train_line} // $departure->{train_no} %>" + data-no="<%= $departure->{train_no} // q{} %>" data-linetype="<%= $linetype %>" data-from="<%= $departure->{origin} // q{???} %>" data-to="<%= $departure->{destination} // q{???} %>" |