diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 22:09:00 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 22:09:00 +0100 |
commit | dcdea4247b6457202ce746814ff44d249c32d8b5 (patch) | |
tree | 3b009ca49536d257e736d714a84fee142cdbc914 /templates | |
parent | d7376340ed10f412caefad198dfb2bac40448bbb (diff) |
train details: show cycle (if available)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_train_details.html.ep | 3 |
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"> |