diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-03-03 18:29:37 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-03-03 18:29:37 +0100 |
commit | e6b74ef0875dbdf555462ef7e719f2f8354c3d64 (patch) | |
tree | dc597a8d9c3450e578fc21d84b65707f91109afb /templates | |
parent | adaf9f7c0c6a7a54d0730f94eee13e263c69ba9c (diff) |
show QoS pictograms in connection list1.15.5
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_connections.html.ep | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 2837e93..6e5404b 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -23,6 +23,22 @@ % else { %= $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}{82} or $train->{message_id}{85}) { + <i class="material-icons" 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> + % } </td> <td> % if ($train->departure_is_cancelled) { @@ -65,6 +81,21 @@ % 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}{82} or $train->{message_id}{85}) { + <i class="material-icons" 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> + % } </td> <td> % if ($train->departure_is_cancelled) { |