-
Notifications
You must be signed in to change notification settings - Fork 27
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 #2116 from laws-africa/error-pages
Add explicit indigo error pages
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% load i18n %} | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{% trans "400 Bad Request" %}</title> | ||
</head> | ||
<body> | ||
<h1>{% trans "400 Bad Request" %}</h1> | ||
|
||
<p><a href="/">{% trans "Home" %}</a></p> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% load i18n %} | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{% trans "404 Not Found" %}</title> | ||
</head> | ||
<body> | ||
<h1>{% trans "404 Not Found" %}</h1> | ||
|
||
<p>{% trans "We could not find that page." %}</p> | ||
|
||
<p><a href="/">{% trans "Home" %}</a></p> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% load i18n %} | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{% trans "400 Server Error" %}</title> | ||
</head> | ||
<body> | ||
<h1>{% trans "500 Server Error" %}</h1> | ||
|
||
<p>{% trans "Whoops, something went wrong." %}</p> | ||
|
||
<p><a href="/">{% trans "Home" %}</a></p> | ||
</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