summaryrefslogtreecommitdiff
path: root/templates/add_journey.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/add_journey.html.ep')
-rw-r--r--templates/add_journey.html.ep19
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep
index c3bc01c..c543781 100644
--- a/templates/add_journey.html.ep
+++ b/templates/add_journey.html.ep
@@ -1,13 +1,15 @@
-<h1>Zugfahrt eingeben</h1>
-% if (not get_oldest_journey_ts()) {
+<h1>Fahrt eingeben</h1>
+% if (not journeys->get_oldest_ts(uid => current_user->{id})) {
<div class="row">
<div class="col s12">
<div class="card info-color">
<div class="card-content">
<span class="card-title">Hinweis</span>
<p>travelynx ist darauf ausgelegt, über die Hauptseite in
- Echtzeit in Züge ein- und auszuchecken. Die manuelle
- Eingabe von Zugfahrten ist nur als Notlösung vorgesehen.</p>
+ Echtzeit in Verkehrsmittel ein- und auszuchecken. Die manuelle
+ Eingabe von Fahrten ist nur als Notlösung vorgesehen.
+ Hier werden derzeit nur Zugfahrten im DB-Netz
+ (IRIS-Backend) unterstützt.</p>
</div>
</div>
</div>
@@ -28,8 +30,9 @@
<div class="row">
<div class="col s12">
<ul>
- <li>Eingabe des Zugs als „Zug Typ Nummer“ oder „Zug Nummer“, z.B.
+ <li>Eingabe der Fahrt als „Typ Linie Nummer“ oder „Typ Nummer“, z.B.
„ICE 100“, „S 1 31133“ oder „ABR RE11 26720“</li>
+ <li>Wenn Nummer nicht bekannt oder vorhanden: einen beliebigen Integer eintragen, z.B. „S 5X 0“ oder „U 11 0“</li>
<li>Zeitangaben im Format DD.MM.YYYY HH:MM</li>
</ul>
</div>
@@ -39,7 +42,7 @@
<div class="row">
<div class="input-field col s12 m6 l6">
%= text_field 'train', id => 'train', class => 'validate', required => undef, pattern => '[0-9a-zA-Z]+ +[0-9a-zA-Z]* *[0-9]+'
- <label for="train">Zug (Typ Linie Nummer)</label>
+ <label for="train">Fahrt (Typ Linie Nummer)</label>
</div>
<div class="input-field col s12 m6 l6">
<label>
@@ -50,7 +53,7 @@
</div>
<div class="row">
<div class="input-field col s12">
- %= text_field 'dep_station', id => 'dep_station', class => 'autocomplete validate', required => undef
+ %= text_field 'dep_station', id => 'dep_station', class => 'autocomplete validate', autocomplete => 'off', required => undef
<label for="dep_station">Start (Name oder DS100)</label>
</div>
<div class="input-field col s12">
@@ -64,7 +67,7 @@
</div>
<div class="row">
<div class="input-field col s12">
- %= text_field 'arr_station', id => 'arr_station', class => 'autocomplete validate', required => undef
+ %= text_field 'arr_station', id => 'arr_station', class => 'autocomplete validate', autocomplete => 'off', required => undef
<label for="arr_station">Ziel (Name oder DS100)</label>
</div>
<div class="input-field col s12">