kopia lustrzana https://github.com/wagtail/wagtail
fix location of {{ block.super }}
Fix: extra_js in snippets type_index `{{ block.super }}` should be outside script tags. All other locations of block.super are outside of script tagspull/2691/merge
rodzic
5d706d2542
commit
5aa8e00d77
|
@ -9,6 +9,7 @@ Changelog
|
|||
* Added a `submit_buttons` block to login template (Gagaro)
|
||||
* Fix: Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
|
||||
* Fix: Unreliable preview is now reliable by always opening in a new window (Kjartan Sverrisson)
|
||||
* Fix: Fixed placement of `{{ block.super }}` in `snippets/type_index.html` (LB (Ben Johnston))
|
||||
|
||||
|
||||
1.9 (xx.xx.xxxx) - IN DEVELOPMENT
|
||||
|
|
|
@ -212,6 +212,7 @@ Contributors
|
|||
* Alasdair Nicol
|
||||
* Vorlif
|
||||
* Kjartan Sverrisson
|
||||
* LB (Ben Johnston)
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -23,6 +23,7 @@ Bug fixes
|
|||
|
||||
* Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
|
||||
* Unreliable preview is now reliable by always opening in a new window (Kjartan Sverrisson)
|
||||
* Fixed placement of ``{{ block.super }}`` in ``snippets/type_index.html`` (LB (Ben Johnston))
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block titletag %}{% blocktrans with snippet_type_name_plural=model_opts.verbose_name_plural|capfirst %}Snippets {{ snippet_type_name_plural }}{% endblocktrans %}{% endblock %}
|
||||
|
||||
{% block extra_js %}
|
||||
<script>
|
||||
{{ block.super }}
|
||||
<script>
|
||||
window.headerSearch = {
|
||||
url: "{% url 'wagtailsnippets:list' model_opts.app_label model_opts.model_name %}",
|
||||
termInput: "#id_q",
|
||||
|
|
Ładowanie…
Reference in New Issue