Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ryanmerolle opened this issue Jan 26, 2023 · 2 comments
Open

Comments

@ryanmerolle
Copy link

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

@alsigna
Copy link
Owner

alsigna commented Jan 26, 2023

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
Copy link
Author

Introduced in 3.4.0

netbox-community/netbox#9071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants