hide first-class occupancy if unknown
This commit is contained in:
parent
521ed1eb87
commit
4475e60b97
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue