From bf02f1b05042be56ed4ba5a23f4790909ae3329b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 18 Jul 2021 00:05:24 +0200 Subject: show warning if realtime data is missing --- templates/_train_details.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index f854279..00b4406 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -131,6 +131,12 @@ % } % for my $link (@{$departure->{links}}) { <%= $link->[0] %> +% } +% if ($departure->{missing_realtime}) { + Echtzeitdaten fehlen +% } +% elsif ($departure->{partially_missing_realtime}) { + Echtzeitdaten unvollständig % } -- cgit v1.2.3