2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

[PUI] Panels plugin fix (#8147)

* Rename "get_custom_panels" method

- So that PUI plugin does not conflict with CUI plugin

* Update docstrings

* Rename "get_ui_panels" -> "ui_panels"

* Docs fix

* rename "ui_panels" -> "get_ui_panels"
This commit is contained in:
Oliver
2024-09-19 17:23:09 +10:00
committed by GitHub
parent 6a8875a4a6
commit 8514970da5
4 changed files with 24 additions and 14 deletions

View File

@ -18,9 +18,9 @@ When rendering certain content in the user interface, the rendering functions ar
## Custom Panels
Many of the pages in the InvenTree web interface are built using a series of "panels" which are displayed on the page. Custom panels can be added to these pages, by implementing the `get_custom_panels` method:
Many of the pages in the InvenTree web interface are built using a series of "panels" which are displayed on the page. Custom panels can be added to these pages, by implementing the `get_ui_panels` method:
::: plugin.base.integration.UserInterfaceMixin.UserInterfaceMixin.get_custom_panels
::: plugin.base.integration.UserInterfaceMixin.UserInterfaceMixin.get_ui_panels
options:
show_bases: False
show_root_heading: False