Skip to content
Commits on Source (2)
...@@ -1842,18 +1842,18 @@ DISTRIBUTIONS ...@@ -1842,18 +1842,18 @@ DISTRIBUTIONS
Test::Pod 0 Test::Pod 0
Travel::Status::DE::IRIS 1.2 Travel::Status::DE::IRIS 1.2
perl v5.20.0 perl v5.20.0
Travel-Status-DE-DeutscheBahn-6.00 Travel-Status-DE-DeutscheBahn-6.01
pathname: D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.00.tar.gz pathname: D/DE/DERF/Travel-Status-DE-DeutscheBahn-6.01.tar.gz
provides: provides:
Travel::Status::DE::DeutscheBahn 6.00 Travel::Status::DE::DeutscheBahn 6.01
Travel::Status::DE::HAFAS 6.00 Travel::Status::DE::HAFAS 6.01
Travel::Status::DE::HAFAS::Journey 6.00 Travel::Status::DE::HAFAS::Journey 6.01
Travel::Status::DE::HAFAS::Location 6.00 Travel::Status::DE::HAFAS::Location 6.01
Travel::Status::DE::HAFAS::Message 6.00 Travel::Status::DE::HAFAS::Message 6.01
Travel::Status::DE::HAFAS::Polyline 6.00 Travel::Status::DE::HAFAS::Polyline 6.01
Travel::Status::DE::HAFAS::Product 6.00 Travel::Status::DE::HAFAS::Product 6.01
Travel::Status::DE::HAFAS::Stop 6.00 Travel::Status::DE::HAFAS::Stop 6.01
Travel::Status::DE::HAFAS::StopFinder 6.00 Travel::Status::DE::HAFAS::StopFinder 6.01
requirements: requirements:
Carp 0 Carp 0
Class::Accessor 0.16 Class::Accessor 0.16
......
...@@ -856,9 +856,9 @@ sub render_train { ...@@ -856,9 +856,9 @@ sub render_train {
sub { sub {
my ( $route, $journey ) = @_; my ( $route, $journey ) = @_;
$departure->{trip_id} = $journey->id; $departure->{trip_id} = $journey->id;
$departure->{operator} = $journey->operator; $departure->{operators} = [ $journey->operators ];
$departure->{date} = $route->[0]{sched_dep} // $route->[0]{dep}; $departure->{date} = $route->[0]{sched_dep} // $route->[0]{dep};
# Use HAFAS route as source of truth; ignore IRIS data # Use HAFAS route as source of truth; ignore IRIS data
$departure->{route_pre_diff} = []; $departure->{route_pre_diff} = [];
...@@ -1209,7 +1209,7 @@ sub train_details { ...@@ -1209,7 +1209,7 @@ sub train_details {
$res->{origin} = $journey->route_start; $res->{origin} = $journey->route_start;
$res->{destination} = $journey->route_end; $res->{destination} = $journey->route_end;
$res->{operator} = $journey->operator; $res->{operators} = [ $journey->operators ];
$res->{route_post_diff} = $route; $res->{route_post_diff} = $route;
......
...@@ -376,8 +376,8 @@ ...@@ -376,8 +376,8 @@
% } % }
</ul> <!-- mroute --> </ul> <!-- mroute -->
% } % }
% if ($departure->{operator}) { % if ($departure->{operators} and @{$departure->{operators} // []}) {
<div class="details">Betrieb: <%= $departure->{operator} %></div> <div class="details">Betrieb: <%= join(q{, }, @{ $departure->{operators} // [] } ) %></div>
% } % }
% if ($departure->{details} and @{$departure->{details}}) { % if ($departure->{details} and @{$departure->{details}}) {
<div class="details">Details: <div class="details">Details:
......