misc: remove useless overloading of authentic2/display_message_and_continue.html (#72519) #115
|
@ -1,15 +0,0 @@
|
||||||
{% extends "authentic2/base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="a2-continue">
|
|
||||||
<a id="a2-continue" href="{{ url }}">{% trans "Continue" %}</a>
|
|
||||||
</div>
|
|
||||||
{% if only_info %}
|
|
||||||
<script>
|
|
||||||
window.setTimeout(function () {
|
|
||||||
document.getElementById('a2-continue').click();
|
|
||||||
}, 3000);
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
|
@ -1,20 +0,0 @@
|
||||||
{% extends "authentic2/base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="a2-continue" id="a2-continue-container" style="display: none">
|
|
||||||
<a id="a2-continue" href="{{ url }}" style="display: none">{% trans "Continue" %}</a>
|
|
||||||
</div>
|
|
||||||
{% if only_info %}
|
|
||||||
<script>
|
|
||||||
if (document.getElementById('messages').innerHTML.indexOf("Vous avez été déconnecté") != -1) {
|
|
||||||
document.getElementById('a2-continue').click();
|
|
||||||
} else {
|
|
||||||
document.getElementById('a2-continue-container').style.display = 'block';
|
|
||||||
window.setTimeout(function () {
|
|
||||||
document.getElementById('a2-continue').click();
|
|
||||||
}, 3000);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
Loading…
Reference in New Issue