comparison default/error/base.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents abd55d94f82b
children
comparison
equal deleted inserted replaced
19:422c54e0204a 20:8fa2fd2e928e
1 {% extends 'base/base.html' %} 1 {% extends 'base/base.html' %}
2 2
3 {% block title %}Error {{error_code}}{% endblock %} 3 {% block title %}{% trans %}Error {{error_code}}{% endtrans %}{% endblock %}
4 {% block body %} 4 {% block body %}
5 An error occured while trying to access the resource. 5 {% trans %}An error occured while trying to access the resource.{% endtrans %}
6 {% endblock body %} 6 {% endblock body %}
7 {% block footer %}{% endblock %} 7 {% block footer %}{% endblock %}