Merge pull request #19326 from netbox-community/17812-nav-menu-ordering

Closes #17812: Reorder "sites" in the navigation menu
This commit is contained in:
bctiemann 2025-04-28 08:52:06 -04:00 committed by GitHub
commit a840eaf37d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,9 +14,9 @@ ORGANIZATION_MENU = Menu(
MenuGroup( MenuGroup(
label=_('Sites'), label=_('Sites'),
items=( items=(
get_model_item('dcim', 'site', _('Sites')),
get_model_item('dcim', 'region', _('Regions')), get_model_item('dcim', 'region', _('Regions')),
get_model_item('dcim', 'sitegroup', _('Site Groups')), get_model_item('dcim', 'sitegroup', _('Site Groups')),
get_model_item('dcim', 'site', _('Sites')),
get_model_item('dcim', 'location', _('Locations')), get_model_item('dcim', 'location', _('Locations')),
), ),
), ),