also render entry-only stops in backend
This commit is contained in:
parent
745b3708d3
commit
1401fb64bf
2 changed files with 10 additions and 6 deletions
|
@ -134,10 +134,12 @@
|
|||
% }
|
||||
% last;
|
||||
% }
|
||||
% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{arr} and $station->[2]{dep}) {
|
||||
% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{dep}) {
|
||||
<%= $station->[0] %><br/>
|
||||
% if ($station->[2]{arr}) {
|
||||
<%= $station->[2]{arr}->strftime('%H:%M') %> →
|
||||
<%= $station->[2]{dep}->strftime('%H:%M') %>
|
||||
% }
|
||||
%= $station->[2]{dep}->strftime('%H:%M')
|
||||
% if ($station->[2]{dep_delay}) {
|
||||
%= sprintf('(%+d)', $station->[2]{dep_dely} / 60);
|
||||
% }
|
||||
|
|
|
@ -98,10 +98,12 @@
|
|||
% }
|
||||
% last;
|
||||
% }
|
||||
% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{arr} and $station->[2]{dep}) {
|
||||
% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{dep}) {
|
||||
<%= $station->[0] %><br/>
|
||||
% if ($station->[2]{arr}) {
|
||||
<%= $station->[2]{arr}->strftime('%H:%M') %> →
|
||||
<%= $station->[2]{dep}->strftime('%H:%M') %>
|
||||
% }
|
||||
%= $station->[2]{dep}->strftime('%H:%M')
|
||||
% if ($station->[2]{dep_delay}) {
|
||||
%= sprintf('(%+d)', $station->[2]{dep_delay} / 60);
|
||||
% }
|
||||
|
|
Loading…
Reference in a new issue