diff --git a/mellon/templates/mellon/authentication_failed.html b/mellon/templates/mellon/authentication_failed.html index 8c3f1b8..f2e2d30 100644 --- a/mellon/templates/mellon/authentication_failed.html +++ b/mellon/templates/mellon/authentication_failed.html @@ -8,22 +8,22 @@ {% endblock %} {% block mellon_content %} -
-

{% trans "Authentication failed" %}

-

- {% blocktrans %}The authentication has failed.{% endblocktrans %} - {% if reason %}

{% trans "Reason" %} : {{ reason }}

{% endif %} -

-

- {% trans "Continue" %} -

- {% if debug %} - - {% endif %} -
+ {% endif %} + {% endblock %} diff --git a/mellon/templates/mellon/base.html b/mellon/templates/mellon/base.html index c6828de..0c436c8 100644 --- a/mellon/templates/mellon/base.html +++ b/mellon/templates/mellon/base.html @@ -1,11 +1,11 @@ {% extends template_base|default:"base.html" %} {% block extra_scripts %} - {% block mellon_extra_scripts %} - {% endblock %} + {% block mellon_extra_scripts %} + {% endblock %} {% endblock %} {% block content %} - {% block mellon_content %} - {% endblock %} + {% block mellon_content %} + {% endblock %} {% endblock %} diff --git a/mellon/templates/mellon/debug_login.html b/mellon/templates/mellon/debug_login.html index a5bf180..1d2de5f 100644 --- a/mellon/templates/mellon/debug_login.html +++ b/mellon/templates/mellon/debug_login.html @@ -1,10 +1,10 @@ {% load i18n %} {% block content %} -

{% trans "Try again" %}

-

{% trans "Attributes:" %}

{{ attributes|pprint }}

-

{% trans "SAML assertion:" %}

{{ assertion_dump }}

-

{% trans "SAML response:" %}

{{ response_dump }}

-

{% trans "SAML artifact:" %}

{{ login.msgBody }}

-

{% trans "Logs:" %}

{{ logs }}

+

{% trans "Try again" %}

+

{% 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 %} -

-
+  

+ {% blocktrans with name_id=saml_attributes.name_id_content %}No user found for NameID {{ name_id }}{% endblocktrans %} +

+
 {{ saml_attributes|pprint }}
-
+
{% 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 %} +