mirror of
https://github.com/inventree/InvenTree.git
synced 2026-12-03 12:51:34 +00:00
Remove legacy plugin setting (#13404)
* Remove legacy plugin setting - ENABLE_PLUGINS_NAVIGATION removed - Not supported by modern interface - Now controlled by ENABLE_PLUGINS_INTERFACE - Use UserInterfaceMixin instead * Apply suggestion from @matmair * fix broken playwright test --------- Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
1 parent
f2b98ff286
commit
c9c84044af
8 files changed
+5
-18
No files matched your search
@@ -4,6 +4,9 @@ title: Navigation Mixin
|
||||
|
||||
## NavigationMixin
|
||||
|
||||
!!! warning "Legacy Mixin"
|
||||
The navigation links provided by this mixin are not displayed in the current user interface, and the `ENABLE_PLUGINS_NAVIGATION` setting has been removed. To add custom navigation items to the user interface, use the [UserInterfaceMixin](./ui.md) and implement the `get_ui_navigation_items` method.
|
||||
|
||||
Use the class constant `NAVIGATION` for a array of links that should be added to InvenTrees navigation header.
|
||||
The array must contain at least one dict that at least define a name and a link for each element. The link must be formatted for a URL pattern name lookup - links to external sites are not possible directly. The optional icon must be a class reference to an icon.
|
||||
|
||||
|
||||
@@ -254,7 +254,6 @@ Refer to the [transfer order settings](../stock/transfer_order.md#transfer-order
|
||||
| ---- | ----------- | ------- | ----- |
|
||||
{{ globalsetting("PLUGIN_ON_STARTUP") }}
|
||||
{{ globalsetting("ENABLE_PLUGINS_URL") }}
|
||||
{{ globalsetting("ENABLE_PLUGINS_NAVIGATION") }}
|
||||
{{ globalsetting("ENABLE_PLUGINS_APP") }}
|
||||
{{ globalsetting("ENABLE_PLUGINS_SCHEDULE") }}
|
||||
{{ globalsetting("ENABLE_PLUGINS_EVENTS") }}
|
||||
|
||||
Reference in new issue
Block a user