summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-24 18:20:54 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-24 18:20:54 +0100
commitc6fbeb54b45eb8b1d0c4fa35d47d7469eda90bba (patch)
tree05b58bf00896120584c2484c45d8d560ea201af6
parentfb5c3b4832a8077c4ddbd1c06f5e2bccaf763a50 (diff)
journey attributes: handle messages related to parts of the route
-rwxr-xr-xbin/dbris-m7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/dbris-m b/bin/dbris-m
index 994f5f4..bb6436b 100755
--- a/bin/dbris-m
+++ b/bin/dbris-m
@@ -356,7 +356,12 @@ elsif ( $opt{journey} ) {
say q{};
}
for my $attr ( $trip->attributes ) {
- say $attr->{value};
+ say $attr->{value}
+ . (
+ $attr->{teilstreckenHinweis}
+ ? q { } . $attr->{teilstreckenHinweis}
+ : q{}
+ );
}
if ( $trip->messages ) {
say q{};