diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-14 19:18:19 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-14 19:18:19 +0100 |
commit | 4609b7312d67063b2cb0d5803260d7dc25475bc2 (patch) | |
tree | 5ef3cf76763c9bd883838bc2dd161fb565d86e2e /templates/_train_details.html.ep | |
parent | 3c85cd22395be60462959ee7d3cf59d0e939b6a3 (diff) |
show expected wagon order whan real-time data is not available
work in progress.
Diffstat (limited to 'templates/_train_details.html.ep')
-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 e1ce093..7c3ee4a 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -112,6 +112,9 @@ <a class="smallbutton" href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>"><i class="material-icons" aria-hidden="true">train</i> Wagenreihung </a> % } +% elsif ($icetype and $icetype->[2] and $linetype eq 'fern') { + <a class="smallbutton" href="/zb-db/<%= $departure->{train_no} %>"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></a> +% } % elsif ($icetype and $icetype->[1] and $linetype eq 'fern') { <span class="disabledbutton"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></span> % } |