diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-30 16:55:13 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-30 16:55:13 +0200 |
commit | 99a89560321cb6981f06c5ea783b11acaec98ada (patch) | |
tree | b2f10ca4ea0bb9bde351a797dae5e1ae6150726a /templates/_connections_hafas.html.ep | |
parent | 4d159fe3785a5a131d36b8ec8676b5abf7eb2fb8 (diff) |
Use "Steig" rather than "Gleis" for bus platforms2.8.36
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 |