summaryrefslogtreecommitdiff
path: root/templates/_checked_out.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-09-09 10:01:12 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-09-09 10:01:12 +0200
commit10dc685d3b2983477891d8318056a148a0c2a4db (patch)
tree7d71261d956cd7c60bdd39fd17530c17d129c5d7 /templates/_checked_out.html.ep
parent40961f53fd0168f6aef52e3968851f97b7248d4e (diff)
_checked_out: fix link for check-outs at HAFAS stations2.1.4
Diffstat (limited to 'templates/_checked_out.html.ep')
-rw-r--r--templates/_checked_out.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_out.html.ep b/templates/_checked_out.html.ep
index 064c547..55ced95 100644
--- a/templates/_checked_out.html.ep
+++ b/templates/_checked_out.html.ep
@@ -2,7 +2,7 @@
<div class="card-content">
<span class="card-title">Ausgecheckt</span>
<p>Aus <%= $journey->{train_type} %> <%= $journey->{train_no} %>
- bis <a href="/s/<%= $journey->{arr_eva} %>"><%= $journey->{arr_name} %></a></p>
+ bis <a href="/s/<%= $journey->{arr_eva} %>?hafas=<%= $journey->{train_id} =~ m{[|]} ? 1 : 0 %>"><%= $journey->{arr_name} %></a></p>
% if (my @connections = @{stash('connections') // []}) {
<span class="card-title" style="margin-top: 2ex;">Verbindungen</span>
<p>Zug auswählen zum Einchecken mit Zielwahl.</p>