diff options
Diffstat (limited to 'templates/_connections_hafas.html.ep')
-rw-r--r-- | templates/_connections_hafas.html.ep | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/_connections_hafas.html.ep b/templates/_connections_hafas.html.ep index 43198e2..3b995b5 100644 --- a/templates/_connections_hafas.html.ep +++ b/templates/_connections_hafas.html.ep @@ -35,7 +35,15 @@ </a> <span class="connect-platform-wrapper"> % if ($train->platform) { - <span>Gleis <%= $train->platform %></span> + <span> + % if (($train->type // q{}) =~ m{ ast | bus | ruf }ix) { + Steig + % } + % else { + Gleis + % } + %= $train->platform + </span> % } <span class="dep-line <%= $train->type // q{} %>"> %= $train->line |