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 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/departures.html.ep') 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. + % } +
-- cgit v1.2.3