[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH] Added http 404 error page
From: |
Thomas Petazzoni |
Subject: |
Re: [Maposmatic-dev] [PATCH] Added http 404 error page |
Date: |
Mon, 28 Sep 2009 20:19:53 +0200 |
Thanks, pulled and pushed!
Le Sat, 26 Sep 2009 15:42:42 +0200,
David Decotigny <address@hidden> a écrit :
> Added 404 error page in order to avoid wsgi spam mail messages to
> root.
> ---
> www/templates/404.html | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
> create mode 100644 www/templates/404.html
>
> diff --git a/www/templates/404.html b/www/templates/404.html
> new file mode 100644
> index 0000000..c31633f
> --- /dev/null
> +++ b/www/templates/404.html
> @@ -0,0 +1,11 @@
> +{% load i18n %}
> +
> +{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans
> "Home" %}</a> › {% trans "Not Found" %}</div>{% endblock %} +
> +{% block title %}{% trans 'Not Found (404)' %}{% endblock %}
> +
> +{% block content %}
> +<h1>{% trans 'Not Found <em>(404)</em>' %}</h1>
> +<p>{% trans "Not Found." %}</p>
> +
> +{% endblock %}
--
Thomas Petazzoni http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse http://www.toulibre.org
signature.asc
Description: PGP signature