mirror of
https://github.com/derf/travelynx
synced 2024-11-10 15:04:17 +00:00
indicate hidden departures in station board
This commit is contained in:
parent
77292c938c
commit
731eb7eb99
2 changed files with 8 additions and 2 deletions
|
@ -97,7 +97,13 @@
|
||||||
<%= $result->destination %>
|
<%= $result->destination %>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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) {
|
% if ($result->departure_delay) {
|
||||||
(<%= sprintf('%+d', $result->departure_delay) %>)
|
(<%= sprintf('%+d', $result->departure_delay) %>)
|
||||||
% }
|
% }
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>(HH:MM)</td>
|
<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>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue