From 9fed4e2897aed6de7d28024c9586e5488b74e30c Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 25 Jul 2024 18:10:18 +0200 Subject: train details: do not show bahn.expert link for non-DB backends --- templates/_train_details.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index f560950..c0248d9 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -155,7 +155,7 @@ <%= $departure->{wr_text} || 'Wagen' %> % } -% if ($departure->{train_type} and $departure->{train_no}) { +% if ($departure->{train_type} and $departure->{train_no} and (not param('hafas') or param('hafas') eq 'DB')) { Details % } % for my $link (@{$departure->{links}}) { -- cgit v1.2.3