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

Handle missing arrival times in route (indicates 'entry only' stops)

parent 285c83c7
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -227,11 +227,11 @@
							% if ($station->[2] and $station->[2] eq 'cancelled') {
								entfällt
							% }
							% elsif ($station->[1]{rt_arr}) {
								<%= $station->[1]{rt_arr}->strftime('%H:%M') %>
							% elsif ($station->[1]{rt_arr} or $station->[1]{sched_arr}) {
								%= ($station->[1]{rt_arr} || $station->[1]{sched_arr})->strftime('%H:%M')
							% }
							% elsif ($station->[1]{sched_arr}) {
								<%= $station->[1]{sched_arr}->strftime('%H:%M') %>
							% elsif ($station->[1]{rt_dep} or $station->[1]{sched_dep}) {
								(<%= ($station->[1]{rt_dep} || $station->[1]{sched_dep})->strftime('%H:%M') %>)
							% }
							% elsif ($station->[2] and $station->[2] eq 'additional') {
								Zusatzhalt
@@ -342,11 +342,11 @@
						% if ($station->[2] and $station->[2] eq 'cancelled') {
							entfällt
						% }
						% elsif ($station->[1]{rt_arr}) {
							<%= $station->[1]{rt_arr}->strftime('%H:%M') %>
						% elsif ($station->[1]{rt_arr} or $station->[1]{sched_arr}) {
							%= ($station->[1]{rt_arr} || $station->[1]{sched_arr})->strftime('%H:%M')
						% }
						% elsif ($station->[1]{sched_arr}) {
							<%= $station->[1]{sched_arr}->strftime('%H:%M') %>
						% elsif ($station->[1]{rt_dep} or $station->[1]{sched_dep}) {
							(<%= ($station->[1]{rt_dep} || $station->[1]{sched_dep})->strftime('%H:%M') %>)
						% }
						% elsif ($station->[2] and $station->[2] eq 'additional') {
							Zusatzhalt
+5 −1
Original line number Diff line number Diff line
@@ -2,13 +2,17 @@
	<div class="col s12">
		<h2>Legende</h2>
		<p>travelynx verwendet bei Angaben zu Zügen und Stationen die folgenden Symbole.</p>
		<h3>Abfahrtstafel</h3>
		<h3>Abfahrtstafel und Route</h3>
		<table class="striped">
			<tbody>
				<tr>
					<td><i class="material-icons">gps_off</i></td>
					<td>Keine Echtzeitdaten vorhanden. Bei den angegebenen Zeiten handelt es sich um Angaben aus dem Fahrplan.</td>
				</tr>
				<tr>
					<td>(HH:MM)</td>
					<td>Route: Ein Ausstieg ist an dieser Station möglicherweise nicht vorgesehen.</td>
				</tr>
			</tbody>
		</table>
		<h3>Anschlusszüge</h3>