mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
tor: Update menu item with generic name
This commit is contained in:
parent
acf3a919f6
commit
b331ba979d
@ -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'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user