diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-03 20:20:28 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-03 20:20:28 +0200 |
commit | 4a5fdd80dab8fe7522c43a3e10a575fb97f13f1f (patch) | |
tree | 922e4448127c9c975384889237005b4b3bdab717 | |
parent | 8e2d38a7da09b27401c8dd3cffb12d5003c93fae (diff) |
status card: fix map link for non-DB checkins
-rw-r--r-- | templates/_public_status_card.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index 8d2b531..4c3d617 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -170,7 +170,7 @@ <a style="margin-right: 0;" href="<%= $url %>"><i class="material-icons left">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} =~ s{#}{%23}gr %>/<%= $journey->{train_line} || 0 %>?from=<%= $journey->{dep_name} %>&to=<%= $journey->{arr_name} // '' %>"><i class="material-icons left">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 %>?hafas=<%= $journey->{backend_name} // 'DB' %>&from=<%= $journey->{dep_name} %>&to=<%= $journey->{arr_name} // '' %>"><i class="material-icons left">map</i> Karte</a> % } </div> % } |