Projet

Général

Profil

0001-don-t-use-addtoblock-template-tag-25395.patch

Emmanuel Cazenave, 20 juillet 2018 11:56

Télécharger (1,08 ko)

Voir les différences:

Subject: [PATCH] don't use addtoblock template tag (#25395)

Deletion the block because it is not rendered anyway.
 templates/variants/tournai/authentic2/login_password_form.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
templates/variants/tournai/authentic2/login_password_form.html
1
{% load i18n authentic2 staticfiles %}
1
{% load i18n staticfiles %}
2 2
<h2>Je m’identifie et me connecte avec mes identifiants</h2>
3 3
<form method="post" action="">
4 4
{% csrf_token %}
......
13 13
</div>
14 14

  
15 15
</form>
16
{% addtoblock "js-endpage" %}<script type="text/javascript" src="{% static "authentic2/js/js_seconds_until.js" %}"></script>{% endaddtoblock %}
17
-