Unverified Commit 69a27390 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

status card: show carriage formation

parent ce794a27
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -356,6 +356,7 @@ sub postprocess {
	$ret->{route_after}        = \@route_after;
	$ret->{extra_data}         = $ret->{data};
	$ret->{comment}            = $ret->{user_data}{comment};
	$ret->{wagongroups}        = $ret->{user_data}{wagongroups};

	$ret->{platform_type} = 'Gleis';
	if ( $ret->{train_type} =~ m{ ast | bus | ruf }ix ) {
+5 −0
Original line number Diff line number Diff line
@@ -197,6 +197,11 @@
					</ul>
				</p>
			% }
			% if ( $journey->{wagongroups} and @{$journey->{wagongroups}} and not stash('from_timeline')) {
				<div class="wagons">
					%= include '_wagons', wagongroups => $journey->{wagongroups};
				</div>
			% }
		</div>
		% if (not stash('from_timeline')) {
			<div class="card-action">