Add missing block.super in extra_css/extra_js blocks (#7310)

pull/7316/head
Andrew Stone 2021-07-02 12:59:17 -07:00 zatwierdzone przez Matt Westcott
rodzic 9850ca7acf
commit d6c92f30af
10 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -27,6 +27,7 @@ Changelog
* Fix: Ensure HTML title is populated on project template 404 page (Matt Westcott)
* Fix: Respect cache_age parameters on embeds (Gordon Pendleton)
* Fix: Page comparison view now reflects request-level customisations to edit handlers (Matt Westcott)
* Fix: Add `block.super` to remaining `extra_js` & `extra_css` blocks (Andrew Stone)
2.13.3 (05.07.2021)

Wyświetl plik

@ -520,6 +520,7 @@ Contributors
* Godswill Melford
* Jake Howard
* Petr Dlouhý
* Andrew Stone
Translators
===========

Wyświetl plik

@ -38,6 +38,7 @@ Bug fixes
* Ensure HTML title is populated on project template 404 page (Matt Westcott)
* Respect cache_age parameters on embeds (Gordon Pendleton)
* Page comparison view now reflects request-level customisations to edit handlers (Matt Westcott)
* Add ``block.super`` to remaining ``extra_js`` & ``extra_css`` blocks (Andrew Stone)
Upgrade considerations
======================

Wyświetl plik

@ -64,6 +64,7 @@
{% endblock %}
{% block extra_css %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_css.html" %}
<link rel="stylesheet" href="{% versioned_static 'wagtailadmin/css/layouts/account.css' %}" type="text/css" />
{{ media.css }}

Wyświetl plik

@ -33,6 +33,7 @@
{% endblock %}
{% block extra_js %}
{{ block.super }}
<script>
$(function() {
$('.object.collapsible').each(function() {

Wyświetl plik

@ -56,11 +56,13 @@
{% endblock %}
{% block extra_css %}
{{ block.super }}
<link rel="stylesheet" href="{% versioned_static 'wagtailadmin/css/layouts/report.css' %}" type="text/css" />
{{ filters.form.media.css }}
{% endblock %}
{% block extra_js %}
{{ block.super }}
{{ filters.form.media.js }}
{% endblock %}

Wyświetl plik

@ -4,6 +4,7 @@
{% block titletag %}{{ view.page_title }}{% endblock %}
{% block extra_css %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_css.html" %}
<link rel="stylesheet" href="{% versioned_static 'wagtailadmin/css/layouts/workflow-edit.css' %}" type="text/css" />
{{ edit_handler.form.media.css }}
@ -13,6 +14,7 @@
{% endblock %}
{% block extra_js %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_js.html" %}
{{ edit_handler.form.media.js }}
{{ pages_formset.media.js }}

Wyświetl plik

@ -4,6 +4,7 @@
{% block titletag %}{{ view.page_title }}{% endblock %}
{% block extra_css %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_css.html" %}
{{ edit_handler.form.media.css }}
@ -11,6 +12,7 @@
{% endblock %}
{% block extra_js %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_js.html" %}
{{ edit_handler.form.media.js }}
{{ edit_handler.html_declarations }}

Wyświetl plik

@ -4,6 +4,7 @@
{% block titletag %}{{ view.page_title }}{% endblock %}
{% block extra_css %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_css.html" %}
{{ edit_handler.form.media.css }}
{{ pages_formset.media.css }}
@ -13,6 +14,7 @@
{% endblock %}
{% block extra_js %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_js.html" %}
{{ edit_handler.form.media.js }}
{{ pages_formset.media.js }}

Wyświetl plik

@ -4,6 +4,7 @@
{% block titletag %}{{ view.page_title }}{% endblock %}
{% block extra_css %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_css.html" %}
{{ edit_handler.form.media.css }}
@ -11,6 +12,7 @@
{% endblock %}
{% block extra_js %}
{{ block.super }}
{% include "wagtailadmin/pages/_editor_js.html" %}
{{ edit_handler.form.media.js }}
{{ edit_handler.html_declarations }}