diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 0f1dcb2..07ff161 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -46,6 +46,7 @@ % } % if (my $wr = $journey->{wagonorder}) {
+ %= $wr->direction == 100 ? '→' : '←'; % for my $wagon ($wr->wagons) { % if (not ($wagon->is_locomotive or $wagon->is_powercar)) { @@ -53,6 +54,7 @@ % } % } %= $wr->direction == 100 ? '→' : '←'; + % }