diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-08 20:33:45 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-08 20:33:45 +0100 |
commit | 8f79a004fd29fb8bf95466cf648468bda644d1d2 (patch) | |
tree | 73d6e31873de37ee0f750d9efc02a7720d5ff1be | |
parent | 2aba2b65227834a1266ebcb0de9d5ee8b8d69cb3 (diff) |
public status card: fix map link
-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 2c5c3df..a5270ec 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -144,7 +144,7 @@ % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; <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} %>"><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} %>/<%= $journey->{train_line} || 0 %>"><i class="material-icons left">map</i> Karte</a> % } </div> </div> |