From 829cb5f22d95a4422810f153ca2a084f623a3b12 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 18 Apr 2025 11:57:41 +0200 Subject: checked in view: DBRIS: restore detail link --- templates/_checked_in.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index f9a199b..2321e8a 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -357,7 +357,11 @@
% my $url = 'https://dbf.finalrewind.org/z/'; - % if ($journey->{is_hafas}) { + % if ($journey->{is_dbris}) { + % $url .= $journey->{train_id} =~ s{#}{%23}gr . '?dbris=' . $journey->{backend_name}; + Details + % } + % elsif ($journey->{is_hafas}) { % $url .= $journey->{train_id} =~ s{#}{%23}gr . '?hafas=' . $journey->{backend_name}; Details % } -- cgit v1.2.3