kopia lustrzana https://github.com/wagtail/wagtail
Update legacy wagtail.wagtailadmin paths (#5090)
Update legacy wagtail.wagtailadmin paths to wagtail.adminpull/5091/head
rodzic
087434f348
commit
37a472834a
|
@ -345,6 +345,7 @@ Contributors
|
|||
* David Beitey
|
||||
* Paul Vetch
|
||||
* Vladimir Knobel
|
||||
* Matt Collins
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -156,7 +156,7 @@ Hooks for building new areas of the admin interface (alongside pages, images, do
|
|||
:attrs: additional HTML attributes to apply to the link
|
||||
:order: an integer which determines the item's position in the menu
|
||||
|
||||
``MenuItem`` can be subclassed to customise the HTML output, specify JavaScript files required by the menu item, or conditionally show or hide the item for specific requests (for example, to apply permission checks); see the source code (``wagtail/wagtailadmin/menu.py``) for details.
|
||||
``MenuItem`` can be subclassed to customise the HTML output, specify JavaScript files required by the menu item, or conditionally show or hide the item for specific requests (for example, to apply permission checks); see the source code (``wagtail/admin/menu.py``) for details.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
@ -231,7 +231,7 @@ Hooks for building new areas of the admin interface (alongside pages, images, do
|
|||
A template tag, ``search_other`` is provided by the ``wagtailadmin_tags`` template module. This tag takes a single, optional parameter, ``current``, which allows you to specify the ``name`` of the search option currently active. If the parameter is not given, the hook defaults to a reverse lookup of the page's URL for comparison against the ``url`` parameter.
|
||||
|
||||
|
||||
``SearchArea`` can be subclassed to customise the HTML output, specify JavaScript files required by the option, or conditionally show or hide the item for specific requests (for example, to apply permission checks); see the source code (``wagtail/wagtailadmin/search.py``) for details.
|
||||
``SearchArea`` can be subclassed to customise the HTML output, specify JavaScript files required by the option, or conditionally show or hide the item for specific requests (for example, to apply permission checks); see the source code (``wagtail/admin/search.py``) for details.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue