From 754719a87ad90bde4cb7406ef6f7874915375be7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 5 Apr 2024 09:22:59 +0200 Subject: show all known operators --- templates/_train_details.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/_train_details.html.ep') 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 @@ % } % } -% if ($departure->{operator}) { -
Betrieb: <%= $departure->{operator} %>
+% if ($departure->{operators} and @{$departure->{operators} // []}) { +
Betrieb: <%= join(q{, }, @{ $departure->{operators} // [] } ) %>
% } % if ($departure->{details} and @{$departure->{details}}) {
Details: -- cgit v1.2.3