From aa9e55128f287b2e264df22997ec282b13f16fbe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 27 Mar 2021 13:27:15 +0100 Subject: request EFA occupancy data (works for some VRR trains) --- templates/_train_details.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 3f03869..6ce9e43 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -140,6 +140,12 @@ <%= $text %>. 1. 2. % } +% elsif (my $o = $departure->{occupancy}) { +
+% my ($text, $icon) = occupancy_icon($o); + <%= $text %>. +
+% } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: -- cgit v1.2.3