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

Consistently use 'train' for DB (IRIS, bahn.de) and 'directions' for HAFAS

parent 4fb45104
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@
	% }
	<div class="row">
		<div class="col s12 grey-text">
			<i class="material-icons tiny" aria-hidden="true"><%= $journey->{is_iris} ? 'train' : 'directions' %></i>
			<i class="material-icons tiny" aria-hidden="true"><%= $journey->{is_hafas} ? 'directions' : 'train' %></i>
			%= $journey->{backend_name} || 'IRIS'
			#<%= $journey->{id} %>
		</div>
+1 −6
Original line number Diff line number Diff line
@@ -67,12 +67,7 @@
							</div>
						</div>
						<div class="card-action">
							% if ($user->{backend_id}) {
								<a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">directions</i><%= $user->{backend_name} %></a>
							% }
							% else {
								<a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true">train</i>IRIS</a>
							% }
							<a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true"><%= $user->{backend_hafas} ? 'directions' : 'train' %></i><%= $user->{backend_name} // 'IRIS' %></a>
							<button class="btn right waves-effect waves-light btn-flat" type="submit" name="action" value="departures">
								<i class="material-icons left" aria-hidden="true">send</i>
								Abfahrten
+2 −2
Original line number Diff line number Diff line
@@ -15,11 +15,11 @@
				</tr>
				<tr>
					<td><i class="material-icons">train</i></td>
					<td>Backend: DB IRIS. Bevorzugte Datenquelle für (mindestens teilweise) innerdeutsche Zugfahrten.</td>
					<td>Backend: Deutsche Bahn (bahn.de oder IRIS-TTS).</td>
				</tr>
				<tr>
					<td><i class="material-icons">directions</i></td>
					<td>Backend: DB HAFAS. Bevorzugte Datenquelle für Nahverkehr und vollständig außerdeutsche Zugfahrten. Weniger detailliert als IRIS.</td>
					<td>Backend: HAFAS.</td>
				</tr>
			</tbody>
		</table>