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:
@ -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
|
||||
|
Reference in New Issue
Block a user