From abe91d7c5c06684a6d25a9058566878ca4062d41 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 16 Jul 2021 07:33:53 +0200 Subject: [PATCH] back to top --- .../exam/templates/exam/script_detail.html | 4 +- teleforma/templates/teleforma/base.html | 41 +++++++++---------- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index e9b5fcca..fbc2fd75 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 top_javascript %} +{% block extra_javascript %} {# #} {# #} {# #} @@ -21,9 +21,7 @@ {% 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 d3ed9e06..a307b9cf 100644 --- a/teleforma/templates/teleforma/base.html +++ b/teleforma/templates/teleforma/base.html @@ -33,7 +33,25 @@ {% block extra_stylesheets %}{% endblock %} - {% block top_javascript %}{% endblock top_javascript %} + {% block javascript %} + + + + + + + + + + {% if user.is_authenticated %} + + {% else %} + + {% endif %} @@ -221,27 +239,6 @@ {% endblock layout %} - - {% block javascript %} - - - - - - - - - - {% if user.is_authenticated %} - - {% else %} - - {% endif %} - {% block extra_javascript %}{% endblock %} -- 2.39.5