Mercurial > libervia-templates
changeset 195:bca0aa66294a
error: created 403.html error page + use a more adapted text for 401.html
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 03 May 2019 20:55:49 +0200 |
parents | 9b2646188b7a |
children | 03c8fd941c0c |
files | sat_templates/templates/default/error/401.html sat_templates/templates/default/error/403.html |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/default/error/401.html Fri May 03 13:09:50 2019 +0200 +++ b/sat_templates/templates/default/error/401.html Fri May 03 20:55:49 2019 +0200 @@ -2,5 +2,5 @@ {% block body %} <h1>{% trans %}Unauthorized{% endtrans %}</h1> -<p>{% trans %}Sorry, you are not allowed to access this page.{% endtrans %}</p> +<p>{% trans %}Sorry, you are not authorized to access this page. An authentication is needed.{% endtrans %}</p> {% endblock body %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/default/error/403.html Fri May 03 20:55:49 2019 +0200 @@ -0,0 +1,6 @@ +{% extends 'error/base.html' %} + +{% block body %} +<h1>{% trans %}Unauthorized{% endtrans %}</h1> +<p>{% trans %}Sorry, you are not allowed to access this page.{% endtrans %}</p> +{% endblock body %}