diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-11-21 20:02:18 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-11-21 20:02:18 +0100 |
commit | 731eb7eb990f366872a2774dc4119051b8285ad0 (patch) | |
tree | 260ea5d04fcf7126b86d532acef50454ddc5e6f6 /templates | |
parent | 77292c938c2c0c9c655bafd5db1183224a7a6d8d (diff) |
indicate hidden departures in station board
Diffstat (limited to 'templates')
-rw-r--r-- | templates/departures.html.ep | 8 | ||||
-rw-r--r-- | templates/legend.html.ep | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 35b5cfd..25e752a 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -97,7 +97,13 @@ <%= $result->destination %> </a> </td> - <td class="<%= $td_class %>"><%= $result->departure->strftime('%H:%M') %> + <td class="<%= $td_class %>"> + % if ($result->departure_hidden) { + (<%= $result->departure->strftime('%H:%M') %>) + % } + % else { + %= $result->departure->strftime('%H:%M') + % } % if ($result->departure_delay) { (<%= sprintf('%+d', $result->departure_delay) %>) % } diff --git a/templates/legend.html.ep b/templates/legend.html.ep index 3b4e7d0..4fcd3bc 100644 --- a/templates/legend.html.ep +++ b/templates/legend.html.ep @@ -11,7 +11,7 @@ </tr> <tr> <td>(HH:MM)</td> - <td>Route: Ein Ausstieg ist an dieser Station möglicherweise nicht vorgesehen.</td> + <td>Ein Einstieg (Abfahrtstafel) bzw. Ausstieg (Route) ist an dieser Station möglicherweise nicht vorgesehen.</td> </tr> </tbody> </table> |