tor: Update menu item with generic name

This commit is contained in:
Sunil Mohan Adapa committed 2015-07-28 11:55:19 +05:30
1 parent acf3a919f6
commit b331ba979d
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
{% block content %}
<h2>Tor</h2>
<h2>Anonymity Network (Tor)</h2>
<h3>Status</h3>
+3 -2
View File
@@ -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'])