diff options
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r-- | templates/_connections.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep index 2a89d9b..97c53e0 100644 --- a/templates/_connections.html.ep +++ b/templates/_connections.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> |