From fbc1b2194c7c84707edf9e01895f2f449123b272 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Dec 2020 17:21:27 +0100 Subject: show expected train type in train view --- templates/_train_details.html.ep | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index c1c7293..a1299ac 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -2,6 +2,10 @@
% if ($departure->{train_no} or $departure->{train_line}) { <%= $departure->{train_type} %> +% if ($linetype eq 'fern' and $icetype and $icetype->[1]) { + +% } + <%= $departure->{train_line} // $departure->{train_no} %> <%= $departure->{train_line} ? $departure->{train_no} : q{} %> % } -- cgit v1.2.3