From 717cc78f5a8c34c687eabed6b9e4babd300620a3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 25 Oct 2020 15:40:13 +0100 Subject: only show planned IC(E) type for long-distance trains --- templates/_train_details.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 19c7061..05f4dec 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -112,7 +112,7 @@ Wagenreihung % } -% elsif ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus') { +% elsif ($icetype and $icetype->[1] and $linetype eq 'fern') { Plan: <%= $icetype->[0] %> % } % for my $link (@{$departure->{links}}) { -- cgit v1.2.3