mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
move Groups to settings menu
This commit is contained in:
parent
09c9872238
commit
4ac1a656a7
@ -26,8 +26,8 @@ class AuthMenuItem(MenuItem):
|
||||
def register_users_menu_item():
|
||||
return AuthMenuItem(_('Users'), urlresolvers.reverse('wagtailusers_users_index'), classnames='icon icon-user', order=600)
|
||||
|
||||
@hooks.register('register_admin_menu_item')
|
||||
def register_users_menu_item():
|
||||
@hooks.register('register_settings_menu_item')
|
||||
def register_groups_menu_item():
|
||||
return AuthMenuItem(_('Groups'), urlresolvers.reverse('wagtailusers_groups_index'), classnames='icon icon-group', order=601)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user