Skip to content
Snippets Groups Projects
Unverified Commit 5cc3baf2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

DB HAFAS is gone

parent 5f686d1d
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({efa => param('efa'), hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a>
</p>
<p>
Oder hier angeben:
Oder hier eine Station angeben:
</p>
</div>
% }
......@@ -121,18 +121,15 @@ Bitte eine Station aus der Liste auswählen</div>
%= hidden_field hafas => param('hafas')
<div>
<div class="field">
<div class="desc">Stationsname oder Fahrtnummer:</div>
<div>
% if (stash('stationlist')) {
% if (stash('stationlist')) {
%= select_field input => stash('stationlist')
% }
% elsif (stash('input')) {
% }
% elsif (stash('input')) {
%= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput'
% }
% else {
% }
% else {
%= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput', autofocus => 'autofocus'
% }
</div>
% }
</div>
<div class="field">
%= submit_button 'Abfahrtstafel'
......
<div class="container">
<p>
Das Backend bestimmt die Datenquelle für Stations- und Zuginformationen.
Innerhalb Deutschlands ist <strong>Deutsche Bahn</strong> meist eine gute Wahl: IRIS-TTS kennt ausschließlich Schienenverkehr im Bahnnetz, während HAFAS auch Nahverkehr unterstützt.
Die anderen Backends bieten sich für Fahrten im Ausland oder im zugehörigen Verkehrsverbund an.
Innerhalb Deutschlands ist <strong>Deutsche Bahn</strong> via IRIS-TTS eine gute Wahl für Schienenverkehr im Bahnnetz.
Die anderen Backends bieten sich für Fahrten im zugehörigen Verkehrsverbund (inklusive Nahverkehr) sowie im Ausland an.
Sofern bekannt sind unterhalb der Backend-Namen Karten verlinkt, die die ungefähre Abdeckung aufzeigen.
Ein Backend, welches Nah- und Fernverkehr in ganz Deutschland abdeckt, ist aktuell leider nicht verfügbar.
</p>
<p>
% my $prev_type = 'IRIS-TTS';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment