From 72089ea6f2b1e4d7365f9460fcd30ab34641644e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 6 Jan 2024 09:42:21 +0100 Subject: do not show prev/next date links when using tripID --- templates/_train_details.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 98800f2..6e57b29 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -204,9 +204,13 @@ % } % if ($departure->{route_pre_diff} and $departure->{route_post_diff}) { %= l 'Fahrtverlauf am' - +% if (stash('train') !~ m{[|]}) { + +% } %= $departure->{date}->strftime('%d.%m.%Y') +% if (stash('train') !~ m{[|]}) { +% }