mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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 cfg
|
||||||
from plinth import action_utils
|
from plinth import action_utils
|
||||||
|
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
is_essential = True
|
||||||
|
|
||||||
depends = ['system']
|
depends = ['system']
|
||||||
|
|
||||||
|
title = _('Users and Groups')
|
||||||
|
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
"""Intialize the user module."""
|
"""Intialize the user module."""
|
||||||
menu = cfg.main_menu.get('system:index')
|
menu = cfg.main_menu.get('system:index')
|
||||||
menu.add_urlname(_('Users and Groups'), 'glyphicon-user', 'users:index',
|
menu.add_urlname(title, 'glyphicon-user', 'users:index', 15)
|
||||||
15)
|
|
||||||
|
|
||||||
|
|
||||||
def diagnose():
|
def diagnose():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user