-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
please edit the navigation.py to move towards a modern user interface. Most all plugins are moving away from being a submenu underneath the "plugins" menu and moving towards top level menus.
Here is the code (tested) to accomplish this for the phonebox plugin.
from netbox.plugins import PluginMenu, PluginMenuItem
menu = PluginMenu(
label="Voice",
icon_class="mdi mdi-phone-outgoing",
groups=(
(
"Voice",
(
PluginMenuItem(
link="plugins:phonebox_plugin:list_view",
link_text="Numbers",
),
PluginMenuItem(
link="plugins:phonebox_plugin:voice_circuit_list_view",
link_text="Voice Circuits",
),
),
),
),
)
Metadata
Metadata
Assignees
Labels
No labels