connections: move departure time to line
this way, departure time is left of arrival at destination, hopefully minimizing confusion
This commit is contained in:
parent
cd99bd6354
commit
1c7779e94e
1 changed files with 13 additions and 12 deletions
|
@ -21,6 +21,17 @@
|
|||
% else {
|
||||
%= $train->line
|
||||
% }
|
||||
<br/>
|
||||
% if ($train->departure_is_cancelled) {
|
||||
%= $train->sched_departure->strftime('%H:%M')
|
||||
⊖
|
||||
% }
|
||||
% else {
|
||||
%= $train->departure->strftime('%H:%M')
|
||||
% if ($train->departure_delay) {
|
||||
%= sprintf('(%+d)', $train->departure_delay)
|
||||
% }
|
||||
% }
|
||||
</td>
|
||||
<td class="<%= $td_class %>">
|
||||
% if ($checkin_from) {
|
||||
|
@ -49,18 +60,8 @@
|
|||
% }
|
||||
</td>
|
||||
<td>
|
||||
% if ($train->departure_is_cancelled) {
|
||||
%= $train->sched_departure->strftime('%H:%M')
|
||||
⊖
|
||||
% }
|
||||
% else {
|
||||
% if ($train->platform) {
|
||||
Gleis <%= $train->platform %><br/>
|
||||
% }
|
||||
%= $train->departure->strftime('%H:%M')
|
||||
% if ($train->departure_delay) {
|
||||
%= sprintf('(%+d)', $train->departure_delay)
|
||||
% }
|
||||
% if ($train->platform) {
|
||||
Gleis <%= $train->platform %><br/>
|
||||
% }
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue