diff options
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r-- | templates/_train_details.html.ep | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -132,6 +132,12 @@ % for my $link (@{$departure->{links}}) { <a class="smallbutton" href="<%= $link->[1] %>"><i class="material-icons" aria-hidden="true">warning</i> <%= $link->[0] %></a> % } +% if ($departure->{missing_realtime}) { + <span class="disabledbutton" title="Nur Fahrplandaten verfügbar. Ob die Zugfahrt tatsächlich stattfindet, ist noch nicht bekannt."><i class="material-icons" aria-hidden="true">gps_off</i> Echtzeitdaten fehlen</span> +% } +% elsif ($departure->{partially_missing_realtime}) { + <span class="disabledbutton"><i class="material-icons" aria-hidden="true">gps_off</i> Echtzeitdaten unvollständig</span> +% } </div> % if (my $u = $departure->{utilization}) { |