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>
|
<span>
|
||||||
% if ($station->[2]{load}{SECOND}) {
|
% if ($station->[2]{load}{SECOND}) {
|
||||||
% my ($first, $second) = load_icon($station->[2]{load});
|
% 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}) {
|
% if ($station->[2]{isCancelled}) {
|
||||||
entfällt
|
entfällt
|
||||||
|
@ -381,7 +384,10 @@
|
||||||
<span>
|
<span>
|
||||||
% if ($station->[2]{load}{SECOND}) {
|
% if ($station->[2]{load}{SECOND}) {
|
||||||
% my ($first, $second) = load_icon($station->[2]{load});
|
% 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}) {
|
% if ($station->[2]{isCancelled}) {
|
||||||
entfällt
|
entfällt
|
||||||
|
|
Loading…
Reference in a new issue