mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Separate out the short description and app name
Signed-off-by: Prachi <prachi@swecha.net> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
1 parent
f75f9dbab9
commit
c8eb714562
60 files changed
+238
-173
No files matched your search
@@ -29,7 +29,7 @@ version = 2
|
||||
|
||||
is_essential = True
|
||||
|
||||
title = _('Security')
|
||||
name = _('Security')
|
||||
|
||||
managed_packages = ['fail2ban']
|
||||
|
||||
@@ -42,7 +42,7 @@ ACCESS_CONF_SNIPPET = '-:ALL EXCEPT root fbx (admin) (sudo):ALL'
|
||||
def init():
|
||||
"""Initialize the module"""
|
||||
menu = main_menu.get('system')
|
||||
menu.add_urlname(title, 'glyphicon-lock', 'security:index')
|
||||
menu.add_urlname(name, 'glyphicon-lock', 'security:index')
|
||||
|
||||
|
||||
def setup(helper, old_version=None):
|
||||
|
||||
Reference in new issue
Block a user