From 8cdf1120fc32155dc6525be64601b7c10a9c7f52 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 25 Jul 2024 20:11:28 +0200 Subject: _checked_in: hide Zuglauf link for non-db checkins --- templates/_checked_in.html.ep | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 9450ffd..2d71d7e 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -343,7 +343,12 @@ % else { % $url = $url . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . $journey->{sched_departure}->epoch . '000?station=' . $journey->{dep_eva}; % } - Zuglauf + % if ($journey->{backend_id} <= 1) { + Zuglauf + % } + % else { +   + % } % if ($journey->{extra_data}{trip_id}) { Karte % } -- cgit v1.2.3