summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-06-16 20:48:35 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-06-16 20:48:51 +0200
commit3ad74b269a9e4df3926cf56014f6543f09bd32b1 (patch)
tree15d119d720f5a7a48d6c4e1367ef7e38b6439a1c /templates
parenteacfa132d6e1284f69437efa6486554a97c13abd (diff)
Frontend: Add a bunch of EFA-specific line colours
Closes #244
Diffstat (limited to 'templates')
-rw-r--r--templates/_departures_efa.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_departures_efa.html.ep b/templates/_departures_efa.html.ep
index 0abd887..26af13f 100644
--- a/templates/_departures_efa.html.ep
+++ b/templates/_departures_efa.html.ep
@@ -32,7 +32,7 @@
<i class="material-icons" aria-label="Keine Echtzeitdaten vorhanden" style="font-size: 16px;">gps_off</i>
% }
</a>
- <span class="dep-line <%= $result->type // q{} %>">
+ <span class="dep-line <%= ($result->type // q{}) =~ tr{a-zA-Z_-}{}cdr %>">
%= $result->line
</span>
<span class="dep-dest">