diff --git a/docs/reference/hooks.rst b/docs/reference/hooks.rst index 338a74e98..cf7915902 100644 --- a/docs/reference/hooks.rst +++ b/docs/reference/hooks.rst @@ -156,7 +156,7 @@ The available hooks are: Add an item to the Wagtail admin menu. The callable passed to this hook must return an instance of ``wagtail.wagtailadmin.menu.MenuItem``. New items can be constructed from the ``MenuItem`` class by passing in a ``label`` which will be the text in the menu item, and the URL of the admin page you want the menu item to link to (usually by calling ``reverse()`` on the admin view you've set up). Additionally, the following keyword arguments are accepted: - :name: an internal name used to identify the menu item; defaults to the slugified form of the label. Also applied as a CSS class to the wrapping ``
  • ``, as ``"menu-{name}"``. + :name: an internal name used to identify the menu item; defaults to the slugified form of the label. :classnames: additional classnames applied to the link, used to give it an icon :attrs: additional HTML attributes to apply to the link :order: an integer which determines the item's position in the menu diff --git a/wagtail/contrib/wagtailsearchpromotions/templates/wagtailsearchpromotions/index.html b/wagtail/contrib/wagtailsearchpromotions/templates/wagtailsearchpromotions/index.html index 757a681f0..3efd752b8 100644 --- a/wagtail/contrib/wagtailsearchpromotions/templates/wagtailsearchpromotions/index.html +++ b/wagtail/contrib/wagtailsearchpromotions/templates/wagtailsearchpromotions/index.html @@ -1,7 +1,6 @@ {% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% trans "Search Terms" %}{% endblock %} -{% block bodyclass %}menu-editorspicks{% endblock %} {% block extra_js %}