summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-04-27 12:45:53 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-04-27 12:45:53 +0200
commit83dc422c3a0ba2243e2ed22410a9de0e9bb502b0 (patch)
treec28230c20f6ab9beb8d6c3aeb5fd5ae3c239e228 /templates/wagenreihung.html.ep
parentdd1b29bc9a1813bc2151635f98231213d3453e78 (diff)
Update DBWagenreihung usage for v0.13
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep4
1 files changed, 2 insertions, 2 deletions
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 @@
% }
<div class="container">
<div style="text-align: center;">
-%= join( ' / ', $wr->origins )
+%= join( ' / ', map { $_->{name} } $wr->origins )
%= join( ' / ', map { $_->{name} } $wr->destinations )
</div>
@@ -28,7 +28,7 @@
% }
</div>
% }
- <%= $wr->station_name %> Gleis <%= $wr->platform %><br/>
+ <%= $wr->station->{name} %> Gleis <%= $wr->platform %><br/>
% for my $desc ($wr->train_descriptions) {
% if ($desc->{text}) {
%= $desc->{text}