Show More
@@ -23,11 +23,11 b' import logging' | |||
|
23 | 23 | import collections |
|
24 | 24 | |
|
25 | 25 | from pylons import url |
|
26 | from pylons.i18n.translation import lazy_ugettext | |
|
27 | 26 | from zope.interface import implementer |
|
28 | 27 | |
|
29 | 28 | from rhodecode.admin.interfaces import IAdminNavigationRegistry |
|
30 | 29 | from rhodecode.lib.utils import get_registry |
|
30 | from rhodecode.translation import _ | |
|
31 | 31 | |
|
32 | 32 | |
|
33 | 33 | log = logging.getLogger(__name__) |
@@ -71,28 +71,24 b' class NavEntry(object):' | |||
|
71 | 71 | class NavigationRegistry(object): |
|
72 | 72 | |
|
73 | 73 | _base_entries = [ |
|
74 |
NavEntry('global', |
|
|
75 |
NavEntry('vcs', |
|
|
76 |
NavEntry('visual', |
|
|
77 |
NavEntry('mapping', |
|
|
78 | 'admin_settings_mapping'), | |
|
79 | NavEntry('issuetracker', lazy_ugettext('Issue Tracker'), | |
|
74 | NavEntry('global', _('Global'), 'admin_settings_global'), | |
|
75 | NavEntry('vcs', _('VCS'), 'admin_settings_vcs'), | |
|
76 | NavEntry('visual', _('Visual'), 'admin_settings_visual'), | |
|
77 | NavEntry('mapping', _('Remap and Rescan'), 'admin_settings_mapping'), | |
|
78 | NavEntry('issuetracker', _('Issue Tracker'), | |
|
80 | 79 | 'admin_settings_issuetracker'), |
|
81 |
NavEntry('email', |
|
|
82 |
NavEntry('hooks', |
|
|
83 |
NavEntry('search', |
|
|
84 | 'admin_settings_search'), | |
|
85 | NavEntry('system', lazy_ugettext('System Info'), | |
|
86 | 'admin_settings_system'), | |
|
87 | NavEntry('open_source', lazy_ugettext('Open Source Licenses'), | |
|
80 | NavEntry('email', _('Email'), 'admin_settings_email'), | |
|
81 | NavEntry('hooks', _('Hooks'), 'admin_settings_hooks'), | |
|
82 | NavEntry('search', _('Full Text Search'), 'admin_settings_search'), | |
|
83 | NavEntry('system', _('System Info'), 'admin_settings_system'), | |
|
84 | NavEntry('open_source', _('Open Source Licenses'), | |
|
88 | 85 | 'admin_settings_open_source', pyramid=True), |
|
89 | 86 | # TODO: marcink: we disable supervisor now until the supervisor stats |
|
90 | 87 | # page is fixed in the nix configuration |
|
91 |
# NavEntry('supervisor', |
|
|
92 | # 'admin_settings_supervisor'), | |
|
88 | # NavEntry('supervisor', _('Supervisor'), 'admin_settings_supervisor'), | |
|
93 | 89 | ] |
|
94 | 90 | |
|
95 |
_labs_entry = NavEntry('labs', |
|
|
91 | _labs_entry = NavEntry('labs', _('Labs'), | |
|
96 | 92 | 'admin_settings_labs') |
|
97 | 93 | |
|
98 | 94 | def __init__(self, labs_active=False): |
General Comments 0
You need to be logged in to leave comments.
Login now