diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-09 10:01:12 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-09 10:01:12 +0200 |
commit | 10dc685d3b2983477891d8318056a148a0c2a4db (patch) | |
tree | 7d71261d956cd7c60bdd39fd17530c17d129c5d7 | |
parent | 40961f53fd0168f6aef52e3968851f97b7248d4e (diff) |
_checked_out: fix link for check-outs at HAFAS stations2.1.4
-rw-r--r-- | templates/_checked_out.html.ep | 2 |
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> |