summaryrefslogtreecommitdiff
path: root/templates/_show_load_icons.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-23 19:36:17 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-23 19:36:17 +0200
commitce794a272fad0bc272a3e54f73a37508eac2554f (patch)
tree79614eeac5b04fb01decf414bac18d280c09507f /templates/_show_load_icons.html.ep
parent3ab1089570912e70c52233a1151b15ceeb1a7e61 (diff)
show load at next stop in timeline / status card, if available2.11.30
Diffstat (limited to 'templates/_show_load_icons.html.ep')
-rw-r--r--templates/_show_load_icons.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/_show_load_icons.html.ep b/templates/_show_load_icons.html.ep
new file mode 100644
index 0000000..e69dab5
--- /dev/null
+++ b/templates/_show_load_icons.html.ep
@@ -0,0 +1,7 @@
+% 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>
+% }