From 1e2e33399ff742f9b099fc219c41d2033ee233f7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 Apr 2019 07:52:51 +0200 Subject: [PATCH] checked_in: distinguish between unknown and not-yet-known arrival --- templates/_checked_in.html.ep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 9f2d1e2..6c777bc 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -22,6 +22,9 @@ (<%= sprintf('%+d', ($journey->{real_arrival}->epoch - $journey->{sched_arrival}->epoch)/60) %>) % } % } + % elsif ($journey->{arr_name}) { + noch nicht bekannt + % } % else { unbekannt % }