diff options
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r-- | templates/departures.html.ep | 8 |
1 files changed, 7 insertions, 1 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) %>) % } |