From 7fe95532c1bc559a9ad2c4b96ec37bd0e30f8598 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 26 May 2019 17:28:21 +0200 Subject: Use JSON for messages and route storage, prepare for extended route data --- templates/_checked_in.html.ep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/_checked_in.html.ep') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index a50aa3e..efe1eff 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -103,11 +103,11 @@ % my $is_after = 0; % for my $station (@{$journey->{route_after}}) { - % if ($journey->{arr_name} and $station eq $journey->{arr_name}) { - <%= $station %> + % if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) { + <%= $station->[0] %> % } % else { - <%= $station %> + <%= $station->[0] %> % } % } -- cgit v1.2.3