From: Guillaume Pellerin Date: Fri, 16 Jul 2021 05:32:27 +0000 (+0200) Subject: fix top JS X-Git-Tag: 2.4.4~11^2~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3af3901a7df3ab21f0e2897a59eeca3c5e5b7d78;p=teleforma.git fix top JS --- diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index fbc2fd75..e9b5fcca 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -5,7 +5,7 @@ {% load pdfannotator %} {% load thumbnail %} -{% block extra_javascript %} +{% block top_javascript %} {# #} {# #} {# #} @@ -21,7 +21,9 @@ {% endif %} +{% endblock top_javascript %} +{% block extra_javascript %} {% endblock extra_javascript %} {% block extra_stylesheets %} diff --git a/teleforma/templates/teleforma/base.html b/teleforma/templates/teleforma/base.html index e015dce5..d3ed9e06 100644 --- a/teleforma/templates/teleforma/base.html +++ b/teleforma/templates/teleforma/base.html @@ -32,6 +32,9 @@ {% endblock %} {% block extra_stylesheets %}{% endblock %} + + {% block top_javascript %}{% endblock top_javascript %} + @@ -239,6 +242,7 @@ {% endif %} + {% block extra_javascript %}{% endblock %} @@ -305,17 +309,8 @@ }); - {% block js-status %} - {% get_telecaster as telecaster %} - {% if telecaster %} - - {% endif %} - {% endblock js-status %} - {% endblock %} - {% block extra_javascript %}{% endblock %} -