diff options
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> % } |