diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-26 14:34:47 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-26 14:34:47 +0000 |
commit | ac59f93b2228f5ff77ca7b7aff6fc3be54d360cd (patch) | |
tree | 3b6e7fb937526aeb05b11d14cfcff0b30e531e73 /templates/web/base/tokens/error.html | |
parent | 251a0e77a25e5efb45aedca27a141f006dbddbde (diff) |
Improve some error pages.
Use design of auth/token in generic error, 404, and token server error
pages, and use the same error for too old/ token not found errors.
Diffstat (limited to 'templates/web/base/tokens/error.html')
-rw-r--r-- | templates/web/base/tokens/error.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/base/tokens/error.html b/templates/web/base/tokens/error.html index e3fa6c170..726ec1598 100644 --- a/templates/web/base/tokens/error.html +++ b/templates/web/base/tokens/error.html @@ -1,9 +1,9 @@ -[% INCLUDE 'header.html', title => loc('Error') %] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Error') %] +[% contact_url = c.uri_for('/contact') %] -<h1>[% loc('Error') %]</h1> - -[% contact_url = c.uri_for('/contact'); %] - -<p>[% tprintf( loc('Thank you for trying to confirm your update or problem. We seem to have an error ourselves though, so <a href="%s">please let us know what went on</a> and we\'ll look into it.'), contact_url ) %]</p> +<div class="confirmation-header confirmation-header--failure"> + <h1>[% loc('Error') %]</h1> + <p>[% tprintf( loc('Thank you for trying to confirm your update or problem. We seem to have an error ourselves though, so <a href="%s">please let us know what went on</a> and we\'ll look into it.'), contact_url ) %]</p> +</div> [% INCLUDE 'footer.html' %] |