From d9659083e0cebd07722b9030d4bf024bfc223c4e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 27 Jul 2016 21:13:03 +0200 Subject: also, error messages --- templates/exception.html.ep | 16 ++++++++-------- templates/main.html.ep | 8 +++----- templates/not_found.html.ep | 14 ++++++-------- 3 files changed, 17 insertions(+), 21 deletions(-) (limited to 'templates') diff --git a/templates/exception.html.ep b/templates/exception.html.ep index cbbc963..9e11232 100644 --- a/templates/exception.html.ep +++ b/templates/exception.html.ep @@ -8,20 +8,20 @@ -
500 Internal Server Error
-
-
-An error occured while processing your request.
+
+
+500 Internal Server Error: +An error occured while processing your request.
+
 ----------[Debug start]----------
 %= $exception->message
 Stash:
 %= dumper $snapshot
 ----------[Debug end]----------
 
-
-
-return to main page -
+Return to main page +
+
diff --git a/templates/main.html.ep b/templates/main.html.ep index b6cccd2..3e8f2ab 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -13,12 +13,10 @@ % if ($stop) { % if ($errstr) {
-
Received an error from the backend service:
-
-
+
+Received an error from the backend service: %= $errstr -
-
+
% } % elsif ($frontend eq 'png') { diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep index 35ab355..e995b3c 100644 --- a/templates/not_found.html.ep +++ b/templates/not_found.html.ep @@ -8,14 +8,12 @@ -
404 Not Found
-
-
+
+
+404 Not Found: The requested URL does not exist and does not map to a public transit station. -
-
-
-return to main page -
+Return to main page + + -- cgit v1.2.3