summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-04 22:51:59 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-04 22:51:59 +0100
commit3d22c00120518f8c5207fe1049a00506091cd43c (patch)
tree5b252917e282970663309467e75c150149ac55cc /templates/_train_details.html.ep
parentd8d8d53efd8e5d81e648e264a0b45e4e151c5277 (diff)
show train route on map2.5.0
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 44cf01d..444fe9a 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -78,6 +78,11 @@
<a href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>">Wagenreihung</a>
</div>
% }
+% if ($departure->{trip_id}) {
+ <div class="verbose">
+ <a href="/map/<%= $departure->{trip_id} %>/<%= $departure->{train_line} // 0 %>">Karte</a>
+ </div>
+% }
% }
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) {