From fc9595e99cbff8cb3297ab36033fa918bb7eda2b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 14 Dec 2019 06:47:21 +0100 Subject: improve wagon output in journey details --- templates/journey.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/journey.html.ep') diff --git a/templates/journey.html.ep b/templates/journey.html.ep index ff5bc12..976dc4d 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -179,7 +179,7 @@ <%= $station->[0] %> % } % else { - <%= $station->[0] %> + <%= $station->[0] %> % } % if ($journey->{edited} & 0x0010) { ∗ @@ -191,12 +191,12 @@ % if ($journey->{user_data} and $journey->{user_data}{wagons}) { Rollmaterial - + % for my $wagongroup (@{$journey->{user_data}{wagongroups} // []}) { - Gruppe <%= $wagongroup %>
+ Wagenverbund <%= $wagongroup %>
% } % for my $wagon (@{$journey->{user_data}{wagons}}) { - <%= substr($wagon->{id}, 0, 2) %><%= substr($wagon->{id}, 2, 2) %><%= substr($wagon->{id}, 4, 1) %><%= substr($wagon->{id}, 5, 3) %><%= substr($wagon->{id}, 8, 3) %><%= substr($wagon->{id}, 11) %> + <%= substr($wagon->{id}, 0, 2) %><%= substr($wagon->{id}, 2, 2) %><%= substr($wagon->{id}, 4, 1) %><%= substr($wagon->{id}, 5, 3) %><%= substr($wagon->{id}, 8, 3) %><%= substr($wagon->{id}, 11) %> %= $wagon->{type} % if ($wagon->{number}) { – Wagen <%= $wagon->{number} %> -- cgit v1.2.3