diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-06 20:58:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-06 20:58:20 +0100 |
commit | 9c7d87e0a67dadec3c13435c743b4498a5be1b91 (patch) | |
tree | 2bd81e117a2b8bc78a5564d1ba9d933cfc284d06 /templates | |
parent | f5d1b92ac24883a72864ea65255a14c870f63794 (diff) |
show planned IC/ICE subtype if available (experimental!)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/app.html.ep | 3 |
1 files changed, 3 insertions, 0 deletions
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}}) { + <span class="trainsubtype"><%= $ice_type->{$departure->{train_no}} %></span> +% } <span class="trainno"><%= $departure->{train_no} %></span> % } % else { |