From 7b709d74cf843681f4b3a7d1f47b066e025673a0 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Tue, 20 Oct 2020 06:23:33 +0200 Subject: [PATCH] Re-specify bundles --- apimail/templates/apimail/message_list.html | 2 ++ scipost/templates/scipost/bare_base.html | 1 + scipost/templates/scipost/index.html | 6 ++++++ templates/rest_framework/api.html | 1 + 4 files changed, 10 insertions(+) diff --git a/apimail/templates/apimail/message_list.html b/apimail/templates/apimail/message_list.html index 51de5cb60..bd81d78c7 100644 --- a/apimail/templates/apimail/message_list.html +++ b/apimail/templates/apimail/message_list.html @@ -4,6 +4,7 @@ {% load static %} {% block headsup %} + {% render_bundle 'vendors~apimail~main' 'css' %} {% render_bundle 'vendors~apimail' 'css' %} {% render_bundle 'apimail' 'css' %} {% endblock headsup %} @@ -17,6 +18,7 @@ {% endblock content %} {% block footer_script %} + {% render_bundle 'vendors~apimail~main' 'js' %} {% render_bundle 'vendors~apimail' 'js' %} {% render_bundle 'apimail' 'js' %} {% endblock footer_script %} diff --git a/scipost/templates/scipost/bare_base.html b/scipost/templates/scipost/bare_base.html index 1021d431c..38e6b07a6 100644 --- a/scipost/templates/scipost/bare_base.html +++ b/scipost/templates/scipost/bare_base.html @@ -8,6 +8,7 @@ {% load static %} {% render_bundle 'vendors~homepage~main~qr' %} + {% render_bundle 'vendors~apimail~main' %} {% render_bundle 'vendors~main' %} {% render_bundle 'main' %} diff --git a/scipost/templates/scipost/index.html b/scipost/templates/scipost/index.html index ad19780f1..360653a10 100644 --- a/scipost/templates/scipost/index.html +++ b/scipost/templates/scipost/index.html @@ -8,7 +8,13 @@ {% block meta_description %}{{ block.super }} homepage{% endblock meta_description %} {% block pagetitle %}Homepage{% endblock pagetitle %} +{% block headsup %} + {% render_bundle 'vendors~homepage~main~qr' 'css' %} + {% render_bundle 'homepage' 'css' %} +{% endblock headsup %} + {% block footer_script %} + {% render_bundle 'vendors~homepage~main~qr' 'js' %} {% render_bundle 'homepage' 'js' %} {% endblock %} diff --git a/templates/rest_framework/api.html b/templates/rest_framework/api.html index 260d689d1..01dc2ac48 100644 --- a/templates/rest_framework/api.html +++ b/templates/rest_framework/api.html @@ -40,6 +40,7 @@ <link rel="stylesheet" href="{% static 'flags/sprite-hq.css' %}"> {% render_bundle 'vendors~homepage~main~qr' %} + {% render_bundle 'vendors~apimail~main' %} {% render_bundle 'vendors~main' %} {% render_bundle 'main' %} -- GitLab