From e325c9da35f17c1f716fd1b5345ba839d1a7ca84 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Fri, 18 Dec 2009 13:58:01 +0000 Subject: [PATCH] Adicionado templates para erros 404 e 500. --- sigi/templates/404.html | 12 ++++++++++++ sigi/templates/500.html | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 sigi/templates/404.html create mode 100644 sigi/templates/500.html diff --git a/sigi/templates/404.html b/sigi/templates/404.html new file mode 100644 index 0000000..9bf4293 --- /dev/null +++ b/sigi/templates/404.html @@ -0,0 +1,12 @@ +{% extends "admin/base_site.html" %} +{% load i18n %} + +{% block title %}{% trans 'Page not found' %}{% endblock %} + +{% block content %} + +

{% trans 'Page not found' %}

+ +

{% trans "We're sorry, but the requested page could not be found." %}

+ +{% endblock %} diff --git a/sigi/templates/500.html b/sigi/templates/500.html new file mode 100644 index 0000000..b30e431 --- /dev/null +++ b/sigi/templates/500.html @@ -0,0 +1,12 @@ +{% extends "admin/base_site.html" %} +{% load i18n %} + +{% block breadcrumbs %}{% endblock %} + +{% block title %}{% trans 'Server error (500)' %}{% endblock %} + +{% block content %} +

{% trans 'Server Error (500)' %}

+

{% trans "There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience." %}

+ +{% endblock %}