-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from Kani999/top_level_navigation
Move menu item to top level navigation
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"),),), | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.1.0" | ||
__version__ = "1.1.1" |