connection view: small QoS icons, order by priority

This commit is contained in:
Daniel Friesel 2020-03-03 19:34:14 +01:00
parent e6b74ef087
commit 901cfc50d8

View file

@ -24,20 +24,20 @@
%= $via
% }
<br/>
% if ($train->{message_id}{70} or $train->{message_id}{71}) {
<i class="material-icons" aria-label="Ohne WLAN">portable_wifi_off</i>
% }
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
<i class="material-icons" aria-label="Abweichende Wagenreihung">transfer_within_a_station</i>
% }
% if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) {
<i class="material-icons" aria-label="Eingeschränkte Barrierefreiheit">info_outline</i>
% if ($train->{message_id}{96} or $train->{message_id}{97}) {
<i class="material-icons tiny" aria-label="Zug ist überbesetzt">warning</i>
% }
% if ($train->{message_id}{82} or $train->{message_id}{85}) {
<i class="material-icons" aria-label="Fehlende Wagen">people</i>
<i class="material-icons tiny" aria-label="Fehlende Wagen">people</i>
% }
% if ($train->{message_id}{96} or $train->{message_id}{97}) {
<i class="material-icons" aria-label="Zug ist überbesetzt">warning</i>
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
<i class="material-icons tiny" aria-label="Abweichende Wagenreihung">compare_arrows</i>
% }
% if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) {
<i class="material-icons tiny" aria-label="Eingeschränkte Barrierefreiheit">info_outline</i>
% }
% if ($train->{message_id}{70} or $train->{message_id}{71}) {
<i class="material-icons tiny" aria-label="Ohne WLAN">portable_wifi_off</i>
% }
</td>
<td>
@ -81,20 +81,20 @@
% else {
%= $via
% }
% if ($train->{message_id}{70} or $train->{message_id}{71}) {
<i class="material-icons" aria-label="Ohne WLAN">portable_wifi_off</i>
% }
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
<i class="material-icons" aria-label="Abweichende Wagenreihung">transfer_within_a_station</i>
% }
% if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) {
<i class="material-icons" aria-label="Eingeschränkte Barrierefreiheit">info_outline</i>
% if ($train->{message_id}{96} or $train->{message_id}{97}) {
<i class="material-icons tiny" aria-label="Zug ist überbesetzt">warning</i>
% }
% if ($train->{message_id}{82} or $train->{message_id}{85}) {
<i class="material-icons" aria-label="Fehlende Wagen">people</i>
<i class="material-icons tiny" aria-label="Fehlende Wagen">people</i>
% }
% if ($train->{message_id}{96} or $train->{message_id}{97}) {
<i class="material-icons" aria-label="Zug ist überbesetzt">warning</i>
% if (($train->{message_id}{73} or $train->{message_id}{74} or $train->{message_id}{75} or $train->{message_id}{76} or $train->{message_id}{80}) and not $train->{message_id}{84}) {
<i class="material-icons tiny" aria-label="Abweichende Wagenreihung">compare_arrows</i>
% }
% if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) {
<i class="material-icons tiny" aria-label="Eingeschränkte Barrierefreiheit">info_outline</i>
% }
% if ($train->{message_id}{70} or $train->{message_id}{71}) {
<i class="material-icons tiny" aria-label="Ohne WLAN">portable_wifi_off</i>
% }
</td>
<td>