Add a mellon/base.html template to make an indirection between mellon templates and the project base.html template (fixes #6301)
This commit is contained in:
parent
3c8e472f47
commit
3675773635
|
@ -1,13 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% extends "mellon/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
{% block mellon_extra_scripts %}
|
||||
{% if error_redirect_after_timeout %}
|
||||
<meta http-equiv="refresh" content="{{ error_redirect_after_timeout }};url={{ next_url }}"
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% block mellon_content %}
|
||||
<div id="mellon-authentication-failure" class="mellon-message">
|
||||
<h2 class="mellon-message-header">{% trans "Authentication failed" %}</h2>
|
||||
<p class="mellon-message-body">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% extends "mellon/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
{% block mellon_content %}
|
||||
<p>
|
||||
{% blocktrans with name_id=saml_attributes.name_id_content %}Your user, {{ user }},
|
||||
is inactive please contact your administrator.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% extends "mellon/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
{% block mellon_content %}
|
||||
<p>
|
||||
{% blocktrans with name_id=saml_attributes.name_id_content %}No user found for NameID {{ name_id }}{% endblocktrans %}
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue