hafas departures: show no-realtime indicator

This commit is contained in:
Birte Kristina Friesel 2023-09-09 09:50:41 +02:00
parent 2e14c2e3e4
commit 40961f53fd
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -37,6 +37,9 @@
% if ($result->delay) { % if ($result->delay) {
(<%= sprintf('%+d', $result->delay) %>) (<%= sprintf('%+d', $result->delay) %>)
% } % }
% elsif (not defined $result->delay and not $result->is_cancelled) {
<i class="material-icons" aria-label="Keine Echtzeitdaten vorhanden" style="font-size: 16px;">gps_off</i>
% }
</td> </td>
</tr> </tr>
% } % }