summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-03-04 18:22:21 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-03-04 18:22:21 +0100
commit4b11079594080885642591f5f3c4787e5ffa1a50 (patch)
treebc0a9b9739b0fc137c32c6bc8bb0a3e6b837272c /lib/DBInfoscreen/Controller
parentb1ca67fd2921d0f3969df77b7f6d120240d282d0 (diff)
show carriage numbers (or classes) on traininfo page
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 7271d63..cabd46d 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -720,6 +720,7 @@ sub render_train {
my $wr
= Travel::Status::DE::DBWagenreihung->new(
from_json => $wr_json );
+ $departure->{wr} = $wr;
$departure->{wr_text} = join( q{ + },
map { $_->{short} }
grep { $_->{short} } $wr->train_descriptions );