hide first-class occupancy if unknown

This commit is contained in:
Birte Kristina Friesel 2024-08-12 18:17:21 +02:00
parent 521ed1eb87
commit 4475e60b97
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -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