summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-21 08:44:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-03-21 08:44:32 +0100
commit7f180555b22d2162ba26d62c93491f496211e537 (patch)
tree393ccaef7f481de03a5c7f3b76bd51594357a886 /templates/app.html.ep
parent234486663dbe1712c10888121d9bf38c4cbd2cc8 (diff)
stationboard: add anchors to individual trains
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index adbaa96..142159a 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -51,6 +51,7 @@
% else {
>
% }
+ <div class="anchor" id="<%= ($departure->{train_type} // q{x}) . ($departure->{train_no} // q{x}) %>"></div>
<div class="line <%= $departure->{linetype} %>">
% if ($departure->{train_type} and $departure->{train_no}) {
%= $departure->{train_type}