diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-23 19:36:17 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-23 19:36:17 +0200 |
commit | ce794a272fad0bc272a3e54f73a37508eac2554f (patch) | |
tree | 79614eeac5b04fb01decf414bac18d280c09507f /templates/_checked_in.html.ep | |
parent | 3ab1089570912e70c52233a1151b15ceeb1a7e61 (diff) |
show load at next stop in timeline / status card, if available2.11.30
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index e3c6e33..3fd226b 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -242,13 +242,7 @@ <a class="tablerow action-checkout" data-station="<%= $station->[1] // $station->[0] %>"> <span><%= $station->[0] %></span> <span> - % if ($station->[2]{load}{SECOND}) { - % my ($first, $second) = load_icon($station->[2]{load}); - % 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> - % } + %= include '_show_load_icons', station => $station % if ($station->[2]{isCancelled}) { entfällt % } @@ -389,13 +383,7 @@ <a class="action-checkout tablerow" style="<%= $is_dest? 'font-weight: bold;' : '' %>" data-station="<%= $station->[1] // $station->[0] %>"> <span><%= $station->[0] %></span> <span> - % if ($station->[2]{load}{SECOND}) { - % my ($first, $second) = load_icon($station->[2]{load}); - % 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> - % } + %= include '_show_load_icons', station => $station % if ($station->[2]{isCancelled}) { entfällt % } |