0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00

redirects import page does not need header search JS

- relates to #7053
This commit is contained in:
LB Johnston 2022-06-09 21:45:05 +10:00 committed by LB (Ben Johnston)
parent 1297b930e5
commit 06bf71296c
3 changed files with 2 additions and 11 deletions

View File

@ -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)

View File

@ -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

View File

@ -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" %}