From 6f1b488d26b24624904162d8127df79f166784ec Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 9 Mar 2019 12:17:59 +0100 Subject: Slightly more helpful texts for checkin/checkout pages --- templates/departures.html.ep | 10 +++++++++- templates/landingpage.html.ep | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 6a6f159..272a94d 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -33,7 +33,15 @@
- Zug auswählen zum Einchecken.
+ %= $station + % if (@{$results}) { + – Zug auswählen zum Einchecken. + % } + % else { + – Keine Abfahrten gefunden. Ein Checkin ist frühestens 10 Minuten vor + und maximal 180 Minuten nach Abfahrt möglich. + % } +
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 4397a15..bf5de90 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -13,7 +13,7 @@ undo Rückgängig % }

-

Bei Ankunft am Zielbahnhof: Auswählen zum Auschecken.

+

Bei Ankunft: Station auswählen zum Auschecken.

% my $is_after = 0; -- cgit v1.2.3