diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-16 20:01:07 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-16 20:01:07 +0200 |
commit | 6ea954c9634912f499c2f1c2b3356d491e40f747 (patch) | |
tree | afec2e6ae5860e5797b66ad2e6123f58f775cd53 /templates/_show_load_icons.html.ep | |
parent | 68fcdf3d6ffc0253eb8f9f64631256fed3128549 (diff) |
show load/occupancy for EFA departures and trips, if available
Diffstat (limited to 'templates/_show_load_icons.html.ep')
-rw-r--r-- | templates/_show_load_icons.html.ep | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/_show_load_icons.html.ep b/templates/_show_load_icons.html.ep index e69dab5..21093b9 100644 --- a/templates/_show_load_icons.html.ep +++ b/templates/_show_load_icons.html.ep @@ -5,3 +5,7 @@ % } <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> % } +% elsif ($station->[2]{efa_load}) { + % my ($icon) = efa_load_icon($station->[2]{efa_load}); + <i class="material-icons tiny" aria-hidden="true"><%= $icon %></i> +% } |