diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-09-24 18:09:06 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-09-24 18:09:06 +0200 |
commit | cd99bd6354efeb8fe60ef2d4bec1915dd8a4421a (patch) | |
tree | ef195c3529e2e154d2987c2d83dfd18f89266cd8 /templates/_connections.html.ep | |
parent | e83cfc5303bfd2625f067580df4c593b9a51af99 (diff) |
_checked_in: move interchange icon to train icons
now all icons are located next to the destination stop
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r-- | templates/_connections.html.ep | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index a69b1fe..c9cd0fe 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.html.ep @@ -29,6 +29,9 @@ % else { <%= $via %><br/><%= $via_arr %> % } + % if ($train->{interchange_icon}) { + <i class="material-icons tiny" aria-label="<%= $train->{interchange_text} %>"><%= $train->{interchange_icon} %></i> + % } % if ($train->{message_id}{96} or $train->{message_id}{97}) { <i class="material-icons tiny" aria-label="Zug ist überbesetzt">warning</i> % } @@ -58,9 +61,6 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } - % if ($train->{interchange_icon}) { - <i class="material-icons tiny" aria-label="<%= $train->{interchange_text} %>"><%= $train->{interchange_icon} %></i> - % } % } </td> </tr> |