tor: Update menu item with generic name

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

View File

@ -22,7 +22,7 @@
{% block content %}
<h2>Tor</h2>
<h2>Anonymity Network (Tor)</h2>
<h3>Status</h3>

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'])