# HG changeset patch # User Goffi # Date 1616852481 -3600 # Node ID fd9b39f5e00a08685f9a0bbc54c195b3dba9875b # Parent a8fa6e118813bede148e47af1d9406931fa8275a bulma: add missing `error` templates diff -r a8fa6e118813 -r fd9b39f5e00a sat_templates/templates/bulma/default/error/401.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/default/error/401.html Sat Mar 27 14:41:21 2021 +0100 @@ -0,0 +1,6 @@ +{% extends 'error/base.html' %} + +{% block body %} +

{% trans %}Unauthorized{% endtrans %}

+

{% trans %}Sorry, you are not authorized to access this page. An authentication is needed.{% endtrans %}

+{% endblock body %} diff -r a8fa6e118813 -r fd9b39f5e00a sat_templates/templates/bulma/default/error/403.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/default/error/403.html Sat Mar 27 14:41:21 2021 +0100 @@ -0,0 +1,6 @@ +{% extends 'error/base.html' %} + +{% block body %} +

{% trans %}Unauthorized{% endtrans %}

+

{% trans %}Sorry, you are not allowed to access this page.{% endtrans %}

+{% endblock body %} diff -r a8fa6e118813 -r fd9b39f5e00a sat_templates/templates/bulma/default/error/404.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/default/error/404.html Sat Mar 27 14:41:21 2021 +0100 @@ -0,0 +1,6 @@ +{% extends 'error/base.html' %} + +{% block body %} +

{% trans %}Not Found{% endtrans %}

+

{% trans %}Sorry, we can't find the resource you are trying to access.{% endtrans %}

+{% endblock body %} diff -r a8fa6e118813 -r fd9b39f5e00a sat_templates/templates/bulma/default/error/base.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/default/error/base.html Sat Mar 27 14:41:21 2021 +0100 @@ -0,0 +1,7 @@ +{% extends 'base/base.html' %} + +{% block title %}{% trans %}Error {{error_code}}{% endtrans %}{% endblock %} +{% block body %} +{% trans %}An error occured while trying to access the resource.{% endtrans %} +{% endblock body %} +{% block footer %}{% endblock %}