From d20066dc440cbffc765978f222bd97958753978e Mon Sep 17 00:00:00 2001
From: Valentin Deniaud {% trans "Attributes:" %} {{ attributes|pprint }}
{% trans "SAML assertion:" %}
{{ assertion_dump }}-
{% trans "SAML response:" %}
{{ response_dump }}-
{% trans "SAML artifact:" %}
{{ login.msgBody }}-
{% trans "Logs:" %}
{{ logs }}+ +
{% trans "Attributes:" %}
{{ attributes|pprint }}+
{% trans "SAML assertion:" %}
{{ assertion_dump }}+
{% trans "SAML response:" %}
{{ response_dump }}+
{% trans "SAML artifact:" %}
{{ login.msgBody }}+
{% trans "Logs:" %}
{{ logs }}{% endblock %} diff --git a/mellon/templates/mellon/inactive_user.html b/mellon/templates/mellon/inactive_user.html index 920660a..33a4a70 100644 --- a/mellon/templates/mellon/inactive_user.html +++ b/mellon/templates/mellon/inactive_user.html @@ -2,9 +2,9 @@ {% load i18n %} {% block mellon_content %} -
- {% blocktrans with name_id=saml_attributes.name_id_content %}Your user, {{ user }}, - is inactive please contact your administrator. - {% endblocktrans %} -
++ {% blocktrans with name_id=saml_attributes.name_id_content %}Your user, {{ user }}, + is inactive please contact your administrator. + {% endblocktrans %} +
{% endblock %} diff --git a/mellon/templates/mellon/user_not_found.html b/mellon/templates/mellon/user_not_found.html index 07b43f3..671dba2 100644 --- a/mellon/templates/mellon/user_not_found.html +++ b/mellon/templates/mellon/user_not_found.html @@ -2,10 +2,10 @@ {% load i18n %} {% block mellon_content %} -- {% blocktrans with name_id=saml_attributes.name_id_content %}No user found for NameID {{ name_id }}{% endblocktrans %} -
- {% endblock %} diff --git a/tests/templates/base.html b/tests/templates/base.html index e26490f..a03934b 100644 --- a/tests/templates/base.html +++ b/tests/templates/base.html @@ -1,6 +1,6 @@ - - {% block content %} - {% endblock %} - + + {% block content %} + {% endblock %} + diff --git a/tests/templates/theme.html b/tests/templates/theme.html index 4c48eb6..c87c72f 100644 --- a/tests/templates/theme.html +++ b/tests/templates/theme.html @@ -1,8 +1,8 @@ - -Theme is ok
-{{ hook }}
- {% block content %} - {% endblock %} - + +Theme is ok
+{{ hook }}
+ {% block content %} + {% endblock %} +