mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
users: Use new setup mechanism
This commit is contained in:
parent
b5ccada3a6
commit
bee0260af7
@ -25,14 +25,19 @@ import subprocess
|
||||
from plinth import cfg
|
||||
from plinth import action_utils
|
||||
|
||||
version = 1
|
||||
|
||||
is_essential = True
|
||||
|
||||
depends = ['system']
|
||||
|
||||
title = _('Users and Groups')
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the user module."""
|
||||
menu = cfg.main_menu.get('system:index')
|
||||
menu.add_urlname(_('Users and Groups'), 'glyphicon-user', 'users:index',
|
||||
15)
|
||||
menu.add_urlname(title, 'glyphicon-user', 'users:index', 15)
|
||||
|
||||
|
||||
def diagnose():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user