From d20116d8dafb4e84b5c8b5593a3fad7365024e0b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 20 Nov 2022 22:30:26 +0100 Subject: indicate entry/exit only stops in train details --- templates/_train_details.html.ep | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 9ea3581..167068e 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -43,7 +43,7 @@
-
+
% if ($departure->{is_cancelled} and $departure->{sched_arrival}) { An: ––:––
Plan: <%= $departure->{sched_arrival} %> % } @@ -87,11 +87,17 @@ % elsif ($departure->{scheduled_platform} or $departure->{platform}) { <%= $left %>Gleis <%= $departure->{platform} // $departure->{scheduled_platform} %><%= $right %> % } +% } +% if ($departure->{arrival_hidden}) { +
Nur Einstieg +% } +% if ($departure->{departure_hidden}) { +
Nur Ausstieg % }
-
+
% if ($departure->{is_cancelled} and $departure->{sched_departure}) { Ab: ––:––
Plan: <%= $departure->{sched_departure} %> % } -- cgit v1.2.3