diff --git a/theme-authentic2/templates/404.html b/theme-authentic2/templates/404.html new file mode 100644 index 0000000..ae0519e --- /dev/null +++ b/theme-authentic2/templates/404.html @@ -0,0 +1,12 @@ +{% extends "authentic2/base-page.html" %} +{% load i18n %} + +{% block title %} {% trans "Error: page not found" %} {% endblock %} + +{% block content %} + +
{% trans "The page you requested has not been found on this server." %} + +{% endblock %} diff --git a/theme-authentic2/templates/500.html b/theme-authentic2/templates/500.html new file mode 100644 index 0000000..ee2608d --- /dev/null +++ b/theme-authentic2/templates/500.html @@ -0,0 +1,30 @@ +{% extends "authentic2/base-page.html" %} +{% load i18n %} + +{% block title %} {% trans "Error: server error (500)" %} {% endblock %} + +{% block content %} + +
{% trans "We're sorry but a server error has occurred." %}
+ +{% if request.logs %} +{{ log.time|time:"H:i:s" }} | +{{ log.level }} | + +
{{ request.exception }}
+{% endif %} + +{% endblock %} diff --git a/theme-authentic2/templates/admin/base_site.html b/theme-authentic2/templates/admin/base_site.html new file mode 100644 index 0000000..0b0fc60 --- /dev/null +++ b/theme-authentic2/templates/admin/base_site.html @@ -0,0 +1,10 @@ +{% extends "admin/base.html" %} +{% load i18n %} + +{% block title %}{{ title }} | {% trans 'Authentic site admin' %}{% endblock %} + +{% block branding %} +There is no log for the moment.
+{% else %} +{% for log in logs.object_list %} + {% if "CRITICAL" in log %} +{{ log }}
+ {% else %} + {% if "ERROR" in log %} +{{ log }}
+ {% else %} +{{ log }}
+ {% endif %} + {% endif %} +{% endfor %} + +{% blocktrans %}You created a new account on {{ site }}. To activate your account, please click here{% endblocktrans %} +
+{% blocktrans %}This link link is valid for {{ expiration_days }} days.{% endblocktrans %}> + + diff --git a/theme-authentic2/templates/authentic2/activation_email_body.txt b/theme-authentic2/templates/authentic2/activation_email_body.txt new file mode 100644 index 0000000..4f710a7 --- /dev/null +++ b/theme-authentic2/templates/authentic2/activation_email_body.txt @@ -0,0 +1,6 @@ +{% load i18n %}{% autoescape off %}{% blocktrans %}You created a new account on {{ site }}. to activate your account, please +click on the following link :{% endblocktrans %} + + {{ registration_url }} + +{% blocktrans %}This link link is valid for {{ expiration_days }} days.{% endblocktrans %}{% endautoescape %} diff --git a/theme-authentic2/templates/authentic2/activation_email_subject.txt b/theme-authentic2/templates/authentic2/activation_email_subject.txt new file mode 100644 index 0000000..707a1d0 --- /dev/null +++ b/theme-authentic2/templates/authentic2/activation_email_subject.txt @@ -0,0 +1 @@ +{% load i18n %}{% autoescape off %}{% trans "Account activation on" %} {{ site }}{% endautoescape %} diff --git a/theme-authentic2/templates/authentic2/base.html b/theme-authentic2/templates/authentic2/base.html index 4cfab6c..b8e7a2e 100644 --- a/theme-authentic2/templates/authentic2/base.html +++ b/theme-authentic2/templates/authentic2/base.html @@ -1,8 +1,9 @@ -{% load i18n authentic2 %}
+ {##}