summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-15 21:56:47 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-15 21:56:47 +0200
commit2ce2291e9414e30f3727cf3bac12e6fb8b33564d (patch)
tree14e3b3234e053a37261ec369fc70a388f918c7a9 /templates
parentdfe820952f13ccd792130758303c338dc94d3bc9 (diff)
route / checkout selection: use EVA ID if available
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index c46016e..7960a80 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -219,7 +219,7 @@
% elsif (not $journey->{arr_name}) {
<p>
% for my $station (@{$journey->{route_after}}) {
- <a class="tablerow action-checkout" data-station="<%= $station->[0] %>">
+ <a class="tablerow action-checkout" data-station="<%= $station->[1] // $station->[0] %>">
<span><%= $station->[0] %></span>
<span>
% if ($station->[2]{load}{SECOND}) {
@@ -357,7 +357,7 @@
% }
% for my $station (@{$journey->{route_after}}) {
% my $is_dest = ($journey->{arr_name} and $station->[0] eq $journey->{arr_name});
- <a class="action-checkout tablerow" style="<%= $is_dest? 'font-weight: bold;' : '' %>" data-station="<%= $station->[0] %>">
+ <a class="action-checkout tablerow" style="<%= $is_dest? 'font-weight: bold;' : '' %>" data-station="<%= $station->[1] // $station->[0] %>">
<span><%= $station->[0] %></span>
<span>
% if ($station->[2]{load}{SECOND}) {