mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
tor: Update menu item with generic name
This commit is contained in:
1 parent
acf3a919f6
commit
b331ba979d
2 files changed
+4
-3
No files matched your search
@@ -22,7 +22,7 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>Tor</h2>
|
||||
<h2>Anonymity Network (Tor)</h2>
|
||||
|
||||
<h3>Status</h3>
|
||||
|
||||
|
||||
@@ -38,9 +38,10 @@ class TorForm(forms.Form): # pylint: disable=W0232
|
||||
|
||||
|
||||
def init():
|
||||
"""Initialize the Tor module"""
|
||||
"""Initialize the Tor module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu.add_urlname('Tor', 'glyphicon-eye-close', 'tor:index', 30)
|
||||
menu.add_urlname(_('Anonymity Network (Tor)'), 'glyphicon-eye-close',
|
||||
'tor:index', 30)
|
||||
|
||||
|
||||
@package.required(['tor'])
|
||||
|
||||
Reference in new issue
Block a user