From ea6d13144c105e7ae04fb2baed0189b8ecda9bdb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Dec 2020 16:28:51 +0100 Subject: train details: show expected utilization (via marudor.de) --- templates/_train_details.html.ep | 7 +++++++ templates/about.html.ep | 1 + 2 files changed, 8 insertions(+) (limited to 'templates') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 05f4dec..e1ce093 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -120,6 +120,13 @@ % } +% if (my $u = $departure->{utilization}) { +
+% my ($text, $icon1, $icon2) = utilization_icon($u); + <%= $text %>. 1. 2. +
+% } + % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: