summaryrefslogtreecommitdiff
path: root/templates/not_found.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-14 19:18:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-14 19:18:19 +0100
commit4609b7312d67063b2cb0d5803260d7dc25475bc2 (patch)
tree5ef3cf76763c9bd883838bc2dd161fb565d86e2e /templates/not_found.html.ep
parent3c85cd22395be60462959ee7d3cf59d0e939b6a3 (diff)
show expected wagon order whan real-time data is not available
work in progress.
Diffstat (limited to 'templates/not_found.html.ep')
-rw-r--r--templates/not_found.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep
index df583ae..c03d32d 100644
--- a/templates/not_found.html.ep
+++ b/templates/not_found.html.ep
@@ -1,7 +1,12 @@
<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.
+% }
</div>
</div>