summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index ac6d928..07c78bf 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -49,6 +49,7 @@
% else {
>
% }
+ <a href="/z/<%= Mojo::Util::url_escape(($departure->{train_type} // q{}) . ' ' . ($departure->{train_no} // $departure->{train} // q{}) . '/' . ($departure->{station} // $station)) %>">
<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}) {
@@ -155,6 +156,7 @@
%= $route_str
</span>
% }
+ </a>
</li>
% }