diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-05 09:22:59 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-05 09:22:59 +0200 |
commit | 754719a87ad90bde4cb7406ef6f7874915375be7 (patch) | |
tree | 77bca0cc8d44b4a0bc08db0cc6d247fc56a58647 /templates/_train_details.html.ep | |
parent | 084f3d05b4c0b3d1c795080364f4563674218d07 (diff) |
show all known operators4.24.1
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 2b51d3c..2f89cde 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -376,8 +376,8 @@ % } </ul> <!-- mroute --> % } -% if ($departure->{operator}) { - <div class="details">Betrieb: <%= $departure->{operator} %></div> +% if ($departure->{operators} and @{$departure->{operators} // []}) { + <div class="details">Betrieb: <%= join(q{, }, @{ $departure->{operators} // [] } ) %></div> % } % if ($departure->{details} and @{$departure->{details}}) { <div class="details">Details: |