diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 797ff57ae34757a456f5a2e7859560e738a316dc..a5611e953186aa9d440a066811566c3343b24ed1 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -356,24 +356,20 @@
% }
- % my $url = 'https://bahn.expert/details/';
- % if ($journey->{train_id} =~ m{[|]}) {
- % if ($journey->{train_type} and $journey->{train_no}) {
- % $url .= $journey->{train_type} . ' ' . $journey->{train_no};
- % }
- % $url .= '/' . $journey->{sched_departure}->epoch . '000?jid=' . $journey->{train_id} =~ s{#}{%23}gr;
- % }
- % else {
- % $url .= $journey->{train_type} . ' ' . $journey->{train_no} . '/' . $journey->{sched_departure}->epoch . '000?station=' . $journey->{dep_eva};
+ % my $url = 'https://dbf.finalrewind.org/z/';
+ % if ($journey->{is_hafas}) {
+ % $url .= $journey->{train_id} =~ s{#}{%23}gr . '?hafas=' . $journey->{backend_name};
+
timeline Details
% }
- % if ($journey->{backend_id} <= 1) {
+ % elsif ($journey->{extra_data}{trip_id}) {
+ % $url .= $journey->{extra_data}{trip_id} =~ s{#}{%23}gr;
timeline Zuglauf
% }
% else {
% }
% if ($journey->{extra_data}{trip_id}) {
-
map Karte
+
map Karte
% }
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 6dda46dd3df350f51349ba873783a228a250f63a..84708efb58b607f07a6a3e7477b4e15552cf22b1 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -168,8 +168,13 @@
% if ($journey->{traewelling_url}) {
timeline Träwelling
- % } elsif ($journey->{backend_id} <= 1) {
- % my $url = 'https://bahn.expert/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000';
+ % }
+ % elsif ($journey->{is_hafas}) {
+ % my $url = 'https://dbf.finalrewind.org/z/' . $journey->{train_id} =~ s{#}{%23}gr . '?hafas=' . $journey->{backend_name};
+
timeline Details
+ % }
+ % elsif ($journey->{extra_data}{trip_id}) {
+ % my $url = 'https://dbf.finalrewind.org/z/' . $journey->{extra_data}{trip_id} =~ s{#}{%23}gr;
timeline Zuglauf
% }
% else {