mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 12:06:53 -06:00
This commit is contained in:
parent
6ef333ea68
commit
e11991c7a4
@ -301,12 +301,14 @@ CUSTOMIZATION_MENU = Menu(
|
|||||||
MenuItem(
|
MenuItem(
|
||||||
link='extras:report_list',
|
link='extras:report_list',
|
||||||
link_text=_('Reports'),
|
link_text=_('Reports'),
|
||||||
permissions=['extras.view_report']
|
permissions=['extras.view_report'],
|
||||||
|
buttons=get_model_buttons('extras', "reportmodule", actions=['add'])
|
||||||
),
|
),
|
||||||
MenuItem(
|
MenuItem(
|
||||||
link='extras:script_list',
|
link='extras:script_list',
|
||||||
link_text=_('Scripts'),
|
link_text=_('Scripts'),
|
||||||
permissions=['extras.view_script']
|
permissions=['extras.view_script'],
|
||||||
|
buttons=get_model_buttons('extras', "scriptmodule", actions=['add'])
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user