From cd4e1246ca33b7f0056be36a640bc2a7340a6667 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Jan 2020 18:28:53 +0100 Subject: show planned IC/ICE type in detail view --- templates/_train_details.html.ep | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 444fe9a..0ace74c 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -73,9 +73,14 @@ % } % } -% if ($departure->{wr_link}) { +% if ($departure->{wr_link} or ($icetype and $icetype->[1])) {
- Wagenreihung +% if ($departure->{wr_link}) { + Wagenreihung +% } +% if ($icetype and $icetype->[1]) { + (Plan: <%= $icetype->[0] %>)
+% }
% } % if ($departure->{trip_id}) { -- cgit v1.2.3