From df74dd5cf97b73cfb6c63fd7399eb273c92f661f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 9 Nov 2022 19:28:48 +0100 Subject: route: handle stops without real-time data --- templates/_checked_in.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index dcf9ddc..2a6ac1d 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -225,6 +225,9 @@ % elsif ($station->[1]{rt_arr}) { <%= $station->[1]{rt_arr}->strftime('%H:%M') %> % } + % elsif ($station->[1]{sched_arr}) { + <%= $station->[1]{sched_arr}->strftime('%H:%M') %> + % } % elsif ($station->[2] and $station->[2] eq 'additional') { Zusatzhalt % } @@ -331,6 +334,9 @@ % elsif ($station->[1]{rt_arr}) { <%= $station->[1]{rt_arr}->strftime('%H:%M') %> % } + % elsif ($station->[1]{sched_arr}) { + <%= $station->[1]{sched_arr}->strftime('%H:%M') %> + % } % elsif ($station->[2] and $station->[2] eq 'additional') { Zusatzhalt % } -- cgit v1.2.3