-
+ {% for error in form.non_field_errors %}
- {{ error }} {% endfor %} +
-
+ {% for error in field.errors %}
- {{ error }} {% endfor %} +
{% trans "Logged in successfully" %}
+{% trans "You have successfully logged into the Central Authentication Service." %}
++ {% trans "When you are done using ENS students' services, you can log out to prevent anyone unauthorized from accessing your sessions on this computer." %} +
+{% trans "Please log in with your Clipper credentials" %}
+ +{% endblock %} diff --git a/cas_eleves/templates/cas_eleves/logout.html b/cas_eleves/templates/cas_eleves/logout.html new file mode 100644 index 0000000..11991e5 --- /dev/null +++ b/cas_eleves/templates/cas_eleves/logout.html @@ -0,0 +1,6 @@ +{% extends "cas_eleves/base.html" %} +{% load i18n static %} +{% block content %} +{% trans "Clipper logout" %}
+{% trans "You have been successfully logged out from your Clipper account." %}
+{% endblock %} diff --git a/cas_eleves/templates/cas_eleves/warn.html b/cas_eleves/templates/cas_eleves/warn.html new file mode 100644 index 0000000..9bdd297 --- /dev/null +++ b/cas_eleves/templates/cas_eleves/warn.html @@ -0,0 +1,9 @@ +{% extends "cas_eleves/base.html" %} +{% load i18n static %} +{% block content %} + +{% endblock %} diff --git a/cas_eleves/templates/cas_server/form.html b/cas_eleves/templates/cas_server/form.html deleted file mode 100644 index 10e73e7..0000000 --- a/cas_eleves/templates/cas_server/form.html +++ /dev/null @@ -1,33 +0,0 @@ -{% load cas_server %} - -{% if form.non_field_errors %} --
- {% for error in form.non_field_errors %}
-
- - {{error}} - - {% endfor %} -
-
- {% for error in field.errors %}
-
- {{error}} - {% endfor %} -
{% trans "Logged in successfully" %}
- -{% blocktrans %} - You have successfully logged into the Central Authentication Service. - {% endblocktrans %}
-{% blocktrans %} - When you are done using ENS students' services, you can log out to prevent - anyone unauthorized from accessing your sessions on this computer. - {% endblocktrans %}
-{% blocktrans %} - Please log in with your Clipper credentials -{% endblocktrans %}
- - -{% endblock %} diff --git a/cas_eleves/templates/cas_server/logout.html b/cas_eleves/templates/cas_server/logout.html deleted file mode 100644 index 28f8d4b..0000000 --- a/cas_eleves/templates/cas_server/logout.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "cas_server/base.html" %} -{% load static %} -{% load i18n %} - -{% block content %} -{% trans "Clipper logout" %}
-{% blocktrans %} - You have been successfully logged out from your Clipper account. -{% endblocktrans %}
-{% endblock %} - diff --git a/cas_eleves/templates/cas_server/warn.html b/cas_eleves/templates/cas_server/warn.html deleted file mode 100644 index e5dab36..0000000 --- a/cas_eleves/templates/cas_server/warn.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "cas_server/base.html" %} -{% load static %} -{% load i18n %} - -{% block content %} - -{% endblock %}