From c65c85f3e23f3d4f5cc3f1faf70b6fb6e9578baa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Feb 2023 12:42:55 +0100 Subject: add bahn.expert link to train details page --- templates/_train_details.html.ep | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 82f0257..f212525 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -144,6 +144,9 @@ % elsif ($icetype and $icetype->[1] and $linetype eq 'fern') { Plan: <%= $icetype->[0] %> % } +% if ($departure->{train_type} and $departure->{train_no}) { + Details +% } % for my $link (@{$departure->{links}}) { <%= $link->[0] %> % } -- cgit v1.2.3