summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-07-25 18:45:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-07-25 18:45:13 +0200
commit7bc1518c547865a603f74181f0a56ea15104d89b (patch)
treee7c6ebb1d30f01cdf1893b94ff4d10b5f1ee7029
parentb7356a003456a317ccdaa95dc476fe72e968d5f0 (diff)
further improved error messages
-rw-r--r--templates/clean.html.ep6
-rw-r--r--templates/layouts/default.html.ep3
2 files changed, 4 insertions, 5 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index e8acb39..c917490 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -235,8 +235,8 @@
% }
% else {
-<p>
-<div class="error">No matching departures</div>
-</p>
+<div class="error"><strong>Keine Abfahrten gefunden.</strong>
+Möglicherweise ist der Filter zu restriktiv, oder an dieser Station fahren
+momentan keine Züge.</div>
% }
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 5f24edf..620fce2 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -31,8 +31,7 @@
<div class="container">
% if (my $error = stash 'error') {
-<div class="error">Backend-Fehler:</div>
-<div>
+<div class="error"><strong>Backend-Fehler:</strong>
<pre>
%= $error
</pre>