summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-11 22:09:00 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-11 22:09:00 +0100
commitdcdea4247b6457202ce746814ff44d249c32d8b5 (patch)
tree3b009ca49536d257e736d714a84fee142cdbc914 /templates
parentd7376340ed10f412caefad198dfb2bac40448bbb (diff)
train details: show cycle (if available)
Diffstat (limited to 'templates')
-rw-r--r--templates/_train_details.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 77a61ba..3a68c80 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -228,6 +228,9 @@
% }
</ul> <!-- mroute -->
% }
+% if (param('detailed') and $departure->{has_cycle}) {
+ <div><a href="https://lib.finalrewind.org/dbdb/db_umlauf/<%= $departure->{train_no} %>.png">Umlaufplan</a></div>
+% }
% if (param('detailed') and $details->{commonAttr}) {
% if ($details->{attrVariants} and (not $details->{commonAttr}{vmax} or not $details->{commonAttr}{brakingPercentage})) {
<div class="db-attr">