Skip to content

Commit

Permalink
Merge pull request #25 from Kani999/top_level_navigation
Browse files Browse the repository at this point in the history
Move menu item to top level navigation
  • Loading branch information
Kani999 authored Jan 31, 2023
2 parents 6e0bb4f + 90c1a82 commit 4bc226f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions netbox_attachments/navigation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from extras.plugins import PluginMenuItem
from extras.plugins import PluginMenu, PluginMenuItem

menu_items = (
PluginMenuItem(
link='plugins:netbox_attachments:netboxattachment_list',
link_text='Attachments'
menu = PluginMenu(
label='Attachments',
icon_class="mdi mdi-paperclip",
groups=(
("", (PluginMenuItem(link="plugins:netbox_attachments:netboxattachment_list",
link_text="NetBox Attachments"),),),
),
)
2 changes: 1 addition & 1 deletion netbox_attachments/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "1.1.1"

0 comments on commit 4bc226f

Please sign in to comment.