summaryrefslogtreecommitdiff
path: root/templates/_connections_hafas.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_connections_hafas.html.ep')
-rw-r--r--templates/_connections_hafas.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_connections_hafas.html.ep b/templates/_connections_hafas.html.ep
index 7a7b656..d2b35ce 100644
--- a/templates/_connections_hafas.html.ep
+++ b/templates/_connections_hafas.html.ep
@@ -36,7 +36,7 @@
% if ($train->platform) {
<span>Gleis <%= $train->platform %></span>
% }
- <span class="dep-line <%= (split(/ /, $train->line))[0] %>">
+ <span class="dep-line <%= $train->type // q{} %>">
%= $train->line
</span>
</span>