Unverified Commit 4475e60b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hide first-class occupancy if unknown

parent 521ed1eb
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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