alsigna / netbox-software-manager

NetBox Plugin to deal with Cisco IOS & XE software
MIT License
46 stars 8 forks source link

Add optional configuration for top level navigation given netbox 3.4 #16

Open ryanmerolle opened 1 year ago

ryanmerolle commented 1 year ago

See https://github.com/ryanmerolle/netbox-acls/blob/dev/netbox_acls/navigation.py for an example approach.

alsigna commented 1 year ago

is it about this part? did not know about this feature, will check.

if plugin_settings.get("top_level_menu"):
    menu = PluginMenu(
        label="Access Lists",
        groups=(("ACLs", menu_buttons),),
        icon_class="mdi mdi-lock",
    )
else:
    menu_items = menu_buttons
ryanmerolle commented 1 year ago

Introduced in 3.4.0

https://github.com/netbox-community/netbox/issues/9071