##// END OF EJS Templates
nav: updated navigation entries for admin...
marcink -
r3565:4cdfc5f1 new-ui
parent child Browse files
Show More
@@ -0,0 +1,51 b''
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.mako"/>
3
4 <%def name="title()">
5 ${_('Settings administration')}
6 %if c.rhodecode_name:
7 &middot; ${h.branding(c.rhodecode_name)}
8 %endif
9 </%def>
10
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
13 &raquo;
14 ${_('Integrations')}
15 </%def>
16
17 <%def name="menu_bar_nav()">
18 ${self.menu_items(active='admin')}
19 </%def>
20
21 <%def name="side_bar_nav()">
22 <li class="active">
23 <a href="${h.route_path('global_integrations_home')}">Global</a>
24 </li>
25 </%def>
26
27 <%def name="main_content()">
28 <%include file="/admin/settings/settings_${c.active}.mako"/>
29 </%def>
30
31 <%def name="main()">
32 <div class="box">
33 <div class="title">
34 ${self.admin_menu()}
35 </div>
36
37 ##main
38 <div class='sidebar-col-wrapper'>
39 <div class="sidebar">
40 <ul class="nav nav-pills nav-stacked">
41 ${self.side_bar_nav()}
42 </ul>
43 </div>
44
45 <div class="main-content-auto-width">
46 ${self.main_content()}
47 </div>
48 </div>
49 </div>
50
51 </%def>
@@ -85,8 +85,6 b' class NavigationRegistry(object):'
85 'admin_settings_hooks'),
85 'admin_settings_hooks'),
86 NavEntry('search', _('Full Text Search'),
86 NavEntry('search', _('Full Text Search'),
87 'admin_settings_search'),
87 'admin_settings_search'),
88 NavEntry('integrations', _('Integrations'),
89 'global_integrations_home'),
90 NavEntry('system', _('System Info'),
88 NavEntry('system', _('System Info'),
91 'admin_settings_system'),
89 'admin_settings_system'),
92 NavEntry('exceptions', _('Exceptions Tracker'),
90 NavEntry('exceptions', _('Exceptions Tracker'),
@@ -6,7 +6,7 b''
6 elif context['c'].repo_group:
6 elif context['c'].repo_group:
7 return "/admin/repo_groups/repo_group_edit.mako"
7 return "/admin/repo_groups/repo_group_edit.mako"
8 else:
8 else:
9 return "/admin/settings/settings.mako"
9 return "/admin/integrations/global.mako"
10 %>
10 %>
11 <%inherit file="${inherit(context)}" />
11 <%inherit file="${inherit(context)}" />
12
12
General Comments 0
You need to be logged in to leave comments. Login now