summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-05 09:58:44 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-05 09:58:44 +0200
commit871287f1af916891f63c2b7d7c5ec09d5452d5c9 (patch)
tree5eadcb939e1198dc74e8ab0f64fc6808aa67c136 /templates/app.html.ep
parent602e31801e3eff1b4787805c0f4344286a787a0e (diff)
fix train no mixups in moreinfo view2.0.1
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index df4bb6f..462f27e 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -50,7 +50,7 @@
<li
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-no="<%= $departure->{train_line} ? $departure->{train_no} : q{} %>"
data-linetype="<%= $linetype %>"
data-from="<%= $departure->{origin} // q{???} %>"
data-to="<%= $departure->{destination} // q{???} %>"