From 9c7d87e0a67dadec3c13435c743b4498a5be1b91 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 6 Jan 2020 20:58:20 +0100 Subject: show planned IC/ICE subtype if available (experimental!) --- templates/app.html.ep | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/app.html.ep') diff --git a/templates/app.html.ep b/templates/app.html.ep index b35ca59..d6d07b6 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -83,6 +83,9 @@ %= $departure->{train_line} % } % elsif ($departure->{train_no}) { +% if (exists $ice_type->{$departure->{train_no}}) { + <%= $ice_type->{$departure->{train_no}} %> +% } <%= $departure->{train_no} %> % } % else { -- cgit v1.2.3