mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
redirects import page does not need header search JS
- relates to #7053
This commit is contained in:
parent
1297b930e5
commit
06bf71296c
@ -44,6 +44,7 @@ Changelog
|
||||
* Fix: Ensure default sidebar branding (bird logo) is not cropped in RTL mode (Steven Steinwand)
|
||||
* Fix: Specific snippets list language picker was not properly styled (Sage Abdullah)
|
||||
* Fix: Add an accessible label to the image focal point input when editing images (Lucie Le Frapper)
|
||||
* Fix: Remove unused header search JavaScript on the redirects import page (LB (Ben) Johnston)
|
||||
|
||||
|
||||
3.0 (16.05.2022)
|
||||
|
@ -58,6 +58,7 @@ When using a queryset to render a list of images, you can now use the ``prefetch
|
||||
* Ensure default sidebar branding (bird logo) is not cropped in RTL mode (Steven Steinwand)
|
||||
* Specific snippets list language picker was not properly styled (Sage Abdullah)
|
||||
* Add an accessible label to the image focal point input when editing images (Lucie Le Frapper)
|
||||
* Remove unused header search JavaScript on the redirects import page (LB (Ben) Johnston)
|
||||
|
||||
|
||||
## Upgrade considerations
|
||||
|
@ -2,17 +2,6 @@
|
||||
{% load i18n wagtailadmin_tags %}
|
||||
{% block titletag %}{% trans "Redirects" %}{% endblock %}
|
||||
|
||||
{% block extra_js %}
|
||||
{{ block.super }}
|
||||
<script>
|
||||
window.headerSearch = {
|
||||
url: "{% url 'wagtailredirects:index' %}",
|
||||
termInput: "#id_q",
|
||||
targetOutput: "#redirects-results"
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% trans "Import redirects" as header_title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=header_title icon="redirect" %}
|
||||
|
Loading…
Reference in New Issue
Block a user