diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-07-07 16:59:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-07-08 17:59:17 +0100 |
commit | ba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch) | |
tree | 8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/base/errors | |
parent | 8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff) |
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
Diffstat (limited to 'templates/web/base/errors')
-rwxr-xr-x | templates/web/base/errors/generic.html | 8 | ||||
-rw-r--r-- | templates/web/base/errors/page_error_404_not_found.html | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/templates/web/base/errors/generic.html b/templates/web/base/errors/generic.html new file mode 100755 index 000000000..12aa8e170 --- /dev/null +++ b/templates/web/base/errors/generic.html @@ -0,0 +1,8 @@ +[% INCLUDE 'header.html', title = loc('Error') %] + +<h1>[% loc('Error') %]</h1> + +<p>[% message %]</p> + +[% INCLUDE 'footer.html' %] + diff --git a/templates/web/base/errors/page_error_404_not_found.html b/templates/web/base/errors/page_error_404_not_found.html new file mode 100644 index 000000000..77db18e89 --- /dev/null +++ b/templates/web/base/errors/page_error_404_not_found.html @@ -0,0 +1,20 @@ +[% INCLUDE 'header.html', title => loc('Page Not Found') %] + +<h1>[%loc('Page Not Found') %]</h1> + +[% IF error_msg %] + <p class="error">[% error_msg | html %]</p> +[% END %] + +<p> + [% + tprintf( + loc("The requested URL '%s' was not found on this server"), + c.req.uri + ) + %] +</p> + +[% # FIXME - add more helpful suggestions to this page %] + +[% INCLUDE 'footer.html' %] |