diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-12 18:17:21 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-12 18:17:21 +0200 |
commit | 4475e60b9720c7bee8fc2c5ffeda595f67ec0bf2 (patch) | |
tree | 529aa7b2ddf93890ae17cad33a241952324d1ed2 /templates/_checked_in.html.ep | |
parent | 521ed1eb87b6dbfeb18086cfa68019e49f9d5721 (diff) |
hide first-class occupancy if unknown
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 672c0d1..843caf3 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -242,7 +242,10 @@ <span> % if ($station->[2]{load}{SECOND}) { % my ($first, $second) = load_icon($station->[2]{load}); - <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> + % if ($first ne 'help_outline') { + <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> + % } + <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> % } % if ($station->[2]{isCancelled}) { entfällt @@ -381,7 +384,10 @@ <span> % if ($station->[2]{load}{SECOND}) { % my ($first, $second) = load_icon($station->[2]{load}); - <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> + % if ($first ne 'help_outline') { + <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> + % } + <i class="material-icons tiny" aria-hidden="true"><%= $second %></i> % } % if ($station->[2]{isCancelled}) { entfällt |