Unverified Commit 1c7779e9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

connections: move departure time to line

this way, departure time is left of arrival at destination, hopefully
minimizing confusion
parent cd99bd63
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -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,19 +60,9 @@
				% }
			</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)
					% }
				% }
			</td>
		</tr>
	% }