From 74f6f591fb2933611e86798e2e629309c8e308eb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 19 Jul 2016 18:18:06 +0200 Subject: somewhat more fancy errors --- templates/exception.html.ep | 10 ++++------ templates/layouts/default.html.ep | 4 ++-- templates/not_found.html.ep | 10 ++++------ 3 files changed, 10 insertions(+), 14 deletions(-) (limited to 'templates') diff --git a/templates/exception.html.ep b/templates/exception.html.ep index 68d19fd..2f20bc6 100644 --- a/templates/exception.html.ep +++ b/templates/exception.html.ep @@ -1,10 +1,8 @@ -
500 Internal Server Error
-
-
-Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.
-
-An error occured while processing your request.
+
+500 Internal Server Error: +Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.
+
 ----------[Debug start]----------
 %= $exception->message
 Stash:
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 52f9a8e..5f24edf 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -39,8 +39,8 @@
 
% } % elsif (stash('stationlist')) { -
Mehrdeutige Eingabe
-
Bitte eine Station aus der Liste auswählen
+
Mehrdeutige Eingabe. +Bitte eine Station aus der Liste auswählen
% }
diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep index 5886148..df583ae 100644 --- a/templates/not_found.html.ep +++ b/templates/not_found.html.ep @@ -1,9 +1,7 @@ -
404 Page Not Found
-
-
+
+
+404 Page Not Found: Die aufgerufene URL existiert nicht und ist keine gültige Abbildung auf einen Bahnhofsnamen. - -The requested URL does not exist and does not map to a train station. -
+
-- cgit v1.2.3