# HG changeset patch # User Goffi <goffi@goffi.org> # Date 1556909749 -7200 # Node ID bca0aa66294a0fa6df79667a323069c4a1dde336 # Parent 9b2646188b7a5503b1a75ebb250a97facc959ce4 error: created 403.html error page + use a more adapted text for 401.html diff -r 9b2646188b7a -r bca0aa66294a sat_templates/templates/default/error/401.html --- 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 %} diff -r 9b2646188b7a -r bca0aa66294a sat_templates/templates/default/error/403.html --- /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 %}