Unverified Commit 6a4c708c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

_checked_in: show cancelled stops in card

parent 27eaff0a
Loading
Loading
Loading
Loading
+39 −9
Original line number Diff line number Diff line
@@ -148,18 +148,32 @@
								% last;
							% }
							% if (($station->[2]{arr_countdown} // 0) > 0 and $station->[2]{arr}) {
								<%= $station->[0] %><br/><%= $station->[2]{arr}->strftime('%H:%M') %>
								%= $station->[0]
								<br/>
								% if ($station->[2]{isCancelled}) {
									entfällt
								% }
								% else {
									%= $station->[2]{arr}->strftime('%H:%M')
								% }
								% if ($station->[2]{arr_delay}) {
									%= sprintf('(%+d)', $station->[2]{arr_delay} / 60);
								% }
								% last;
							% }
							% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{dep}) {
								<%= $station->[0] %><br/>
								%= $station->[0]
								<br/>
								% if ($station->[2]{isCancelled}) {
									entfällt
								% }
								% else {
									% if ($station->[2]{arr}) {
									<%= $station->[2]{arr}->strftime('%H:%M') %> →
										%= $station->[2]{arr}->strftime('%H:%M')

									% }
									%= $station->[2]{dep}->strftime('%H:%M')
								% }
								% if ($station->[2]{dep_delay}) {
									%= sprintf('(%+d)', $station->[2]{dep_delay} / 60);
								% }
@@ -175,16 +189,32 @@
								% last;
							% }
							% if (($station->[2]{arr_countdown} // 0) > 0 and $station->[2]{arr}) {
								<%= $station->[0] %><br/><%= $station->[2]{arr}->strftime('%H:%M') %>
								%= $station->[0]
								<br/>
								% if ($station->[2]{isCancelled}) {
									entfällt
								% }
								% else {
									%= $station->[2]{arr}->strftime('%H:%M')
								% }
								% if ($station->[2]{arr_delay}) {
									%= sprintf('(%+d)', $station->[2]{arr_delay} / 60);
								% }
								% last;
							% }
							% if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{arr} and $station->[2]{dep}) {
								<%= $station->[0] %><br/>
								<%= $station->[2]{arr}->strftime('%H:%M') %> →
								<%= $station->[2]{dep}->strftime('%H:%M') %>
								%= $station->[0]
								<br/>
								% if ($station->[2]{isCancelled}) {
									entfällt
								% }
								% else {
									% if ($station->[2]{arr}) {
										%= $station->[2]{arr}->strftime('%H:%M')

									% }
									%= $station->[2]{dep}->strftime('%H:%M')
								% }
								% if ($station->[2]{dep_delay}) {
									%= sprintf('(%+d)', $station->[2]{dep_delay} / 60);
								% }