This repository has been archived by the owner on Jan 25, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from muffinresearch/improve-error-pages-842845
Improve error page styling (bug 842845)
- Loading branch information
Showing
5 changed files
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
<!DOCTYPE html> | ||
<html LANG="{{ LANG }}" dir="{{ DIR }}"> | ||
<head> | ||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | ||
<title>{{ _('Page not found') }}</title> | ||
</head> | ||
<body> | ||
<h1>{{ _('Page not found') }}</h1> | ||
<p> | ||
{% trans %} | ||
Sorry, but we couldn't find the page you're looking for. | ||
{% endtrans %} | ||
</p> | ||
</body> | ||
</html> | ||
{% extends "base_error.html" %} | ||
{% block error_title %}{{ _('Page not found') }}{% endblock %} | ||
{% block error_heading %}{{ _('Page not found') }}{% endblock %} | ||
{% block error_content -%} | ||
<p>{{ _("Sorry, but we couldn't find the page you're looking for.") }}</p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
<!DOCTYPE html> | ||
<html LANG="{{ LANG }}" dir="{{ DIR }}"> | ||
<head> | ||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | ||
<title>{{ _('Something went wrong!') }}</title> | ||
</head> | ||
<body> | ||
<h1>{{ _('Something went wrong!') }}</h1> | ||
<p> | ||
{% trans %} | ||
There was an error processing that request. | ||
{% endtrans %} | ||
</p> | ||
</body> | ||
</html> | ||
{% extends "base_error.html" %} | ||
{% block error_title %}{{ _('Something went wrong!') }}{% endblock %} | ||
{% block error_heading %}{{ _('Something went wrong!') }}{% endblock %} | ||
{% block error_content -%} | ||
<p>{{ _('There was an error processing that request.') }}</p> | ||
<p>{{ _('Please try again in a few moments.') }}</p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html LANG="{{ LANG }}" dir="{{ DIR }}"> | ||
<head> | ||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<title>{% block error_title %}{% endblock %}</title> | ||
{% block site_css -%} | ||
{{ css('pay') }} | ||
{%- endblock %} | ||
|
||
</head> | ||
<body class="error-page"> | ||
<h1>{% block error_heading %}{% endblock %}</h1> | ||
{% block error_content %}{% endblock %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters