From 901cfc50d8773c394d49c4b14d78f9caf93ba32a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 3 Mar 2020 19:34:14 +0100 Subject: [PATCH] connection view: small QoS icons, order by priority --- templates/_connections.html.ep | 44 +++++++++++++++++----------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 6e5404b..d4f5bb1 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -24,20 +24,20 @@ %= $via % }
- % if ($train->{message_id}{70} or $train->{message_id}{71}) { - portable_wifi_off - % } - % 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}) { - transfer_within_a_station - % } - % if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) { - info_outline + % if ($train->{message_id}{96} or $train->{message_id}{97}) { + warning % } % if ($train->{message_id}{82} or $train->{message_id}{85}) { - people + people % } - % if ($train->{message_id}{96} or $train->{message_id}{97}) { - warning + % 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}) { + compare_arrows + % } + % if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) { + info_outline + % } + % if ($train->{message_id}{70} or $train->{message_id}{71}) { + portable_wifi_off % } @@ -81,20 +81,20 @@ % else { %= $via % } - % if ($train->{message_id}{70} or $train->{message_id}{71}) { - portable_wifi_off - % } - % 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}) { - transfer_within_a_station - % } - % if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) { - info_outline + % if ($train->{message_id}{96} or $train->{message_id}{97}) { + warning % } % if ($train->{message_id}{82} or $train->{message_id}{85}) { - people + people % } - % if ($train->{message_id}{96} or $train->{message_id}{97}) { - warning + % 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}) { + compare_arrows + % } + % if ($train->{message_id}{83} or $train->{message_id}{93} or $train->{message_id}{95}) { + info_outline + % } + % if ($train->{message_id}{70} or $train->{message_id}{71}) { + portable_wifi_off % }