summaryrefslogtreecommitdiff
path: root/templates/not_found.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/not_found.html.ep')
-rw-r--r--templates/not_found.html.ep15
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep
index 5886148..c03d32d 100644
--- a/templates/not_found.html.ep
+++ b/templates/not_found.html.ep
@@ -1,9 +1,12 @@
-<div class="error">404 Page Not Found</div>
-<div>
-<pre>
+<div class="container">
+<div class="error">
+<strong>404 Page Not Found:</strong>
+% if (my $e = stash('message')) {
+%= $e
+% }
+% else {
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.
-</pre>
+% }
+</div>
</div>