diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-26 17:28:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-26 17:28:21 +0200 |
commit | 7fe95532c1bc559a9ad2c4b96ec37bd0e30f8598 (patch) | |
tree | c78cb5abf2833c107ac018ac98886e619231b450 /templates/_checked_in.html.ep | |
parent | 45a4089431002ee01b11880d463dd3513b0657ca (diff) |
Use JSON for messages and route storage, prepare for extended route data
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ <tbody> % my $is_after = 0; % for my $station (@{$journey->{route_after}}) { - % if ($journey->{arr_name} and $station eq $journey->{arr_name}) { - <tr><td><b><a class="action-checkout" data-station="<%= $station %>"><%= $station %></a></b></td></tr> + % if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) { + <tr><td><b><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></b></td></tr> % } % else { - <tr><td><a class="action-checkout" data-station="<%= $station %>"><%= $station %></a></td></tr> + <tr><td><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></td></tr> % } % } </tbody> |