From 83dc422c3a0ba2243e2ed22410a9de0e9bb502b0 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 27 Apr 2024 12:45:53 +0200 Subject: Update DBWagenreihung usage for v0.13 --- templates/wagenreihung.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep index 493d9c6..a68590b 100644 --- a/templates/wagenreihung.html.ep +++ b/templates/wagenreihung.html.ep @@ -17,7 +17,7 @@ % }
-%= join( ' / ', $wr->origins ) +%= join( ' / ', map { $_->{name} } $wr->origins ) → %= join( ' / ', map { $_->{name} } $wr->destinations )
@@ -28,7 +28,7 @@ % }
% } - <%= $wr->station_name %> Gleis <%= $wr->platform %>
+ <%= $wr->station->{name} %> Gleis <%= $wr->platform %>
% for my $desc ($wr->train_descriptions) { % if ($desc->{text}) { %= $desc->{text} -- cgit v1.2.3