-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
21 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,5 @@ | ||
{% extends "http_errors.html" %} | ||
{% load i18n %} | ||
{% block head_title %}403 {% trans "Accès interdit" %}{% endblock %} | ||
{% block http_error_code %}403{% endblock %} | ||
{% block http_error_name %}{% trans "Accès interdit" %}{% 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,5 @@ | ||
{% extends "http_errors.html" %} | ||
{% load i18n %} | ||
{% block head_title %}404 {% trans "Pas trouvé" %}{% endblock %} | ||
{% block http_error_code %}404{% endblock %} | ||
{% block http_error_name %}{% trans "Pas trouvé" %}{% 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,5 @@ | ||
{% extends "http_errors.html" %} | ||
{% load i18n %} | ||
{% block head_title %}500 {% trans "Erreur interne du serveur" %}{% endblock %} | ||
{% block http_error_code %}500{% endblock %} | ||
{% block http_error_name %}{% trans "Erreur interne du serveur" %}{% 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,6 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
<div class="alert alert-danger" role="alert"> | ||
<strong>{% block http_error_name %}{% endblock %}</strong> | ||
</div> | ||
{% endblock %} |