diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-09 09:33:46 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-06-09 09:33:46 +0200 |
commit | 83a69dcd74df82d0fb910c7ef389b0723d827799 (patch) | |
tree | 420fcd03861ed6a8f0f51619c00e761431ac8cc3 /templates/_checked_in.html.ep | |
parent | a74191efc33718fb7e31bd3967e79d50e39ea39e (diff) |
adjust map links for # in HAFAS IDs2.6.20
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r-- | templates/_checked_in.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 7155208..b42792e 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -350,7 +350,7 @@ % } <a style="margin-right: 0;" href="<%= $url %>"><i class="material-icons left" aria-hidden="true">timeline</i> Zuglauf</a> % if ($journey->{extra_data}{trip_id}) { - <a class="right" style="margin-right: 0;" href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} %>/<%= $journey->{train_line} || 0 %>?from=<%= $journey->{dep_name} %>&to=<%= $journey->{arr_name} %>&dark=<%= (session('theme') and session('theme') eq 'dark') ? 1 : 0 %>"><i class="material-icons left" aria-hidden="true">map</i> Karte</a> + <a class="right" style="margin-right: 0;" href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} =~ s{#}{%23}gr %>/<%= $journey->{train_line} || 0 %>?from=<%= $journey->{dep_name} %>&to=<%= $journey->{arr_name} %>&dark=<%= (session('theme') and session('theme') eq 'dark') ? 1 : 0 %>"><i class="material-icons left" aria-hidden="true">map</i> Karte</a> % } </div> </div> |