_checked_out: fix link for check-outs at HAFAS stations

This commit is contained in:
Birte Kristina Friesel 2023-09-09 10:01:12 +02:00
parent 40961f53fd
commit 10dc685d3b
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -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>