summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-11-09 19:28:48 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-11-09 19:28:48 +0100
commitdf74dd5cf97b73cfb6c63fd7399eb273c92f661f (patch)
treed4cc216d73e3c4cb0a5b88787f56fe74420bee72 /templates
parent0a37788fef9883441721e8481099c1e49c4ee6d5 (diff)
route: handle stops without real-time data
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep6
1 files changed, 6 insertions, 0 deletions
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}) {
<span><%= $station->[1]{rt_arr}->strftime('%H:%M') %></span>
% }
+ % elsif ($station->[1]{sched_arr}) {
+ <span><%= $station->[1]{sched_arr}->strftime('%H:%M') %></span>
+ % }
% elsif ($station->[2] and $station->[2] eq 'additional') {
<span>Zusatzhalt</span>
% }
@@ -331,6 +334,9 @@
% elsif ($station->[1]{rt_arr}) {
<span><%= $station->[1]{rt_arr}->strftime('%H:%M') %></span>
% }
+ % elsif ($station->[1]{sched_arr}) {
+ <span><%= $station->[1]{sched_arr}->strftime('%H:%M') %></span>
+ % }
% elsif ($station->[2] and $station->[2] eq 'additional') {
<span>Zusatzhalt</span>
% }