##// END OF EJS Templates
auth: fixed missing upper context navigation in plugin view
marcink -
r3584:ed59d605 new-ui
parent child Browse files
Show More
@@ -31,7 +31,7 b''
31 31 <div class="sidebar">
32 32 <ul class="nav nav-pills nav-stacked">
33 33 % for item in resource.get_root().get_nav_list():
34 <li ${'class=active' if item == resource else ''}>
34 <li ${('class=active' if item == resource else '')}>
35 35 <a href="${request.resource_path(item, route_name='auth_home')}">${item.display_name}</a>
36 36 </li>
37 37 % endfor
@@ -67,10 +67,10 b''
67 67 <th>${_('Plugin ID')}</th>
68 68 <th>${_('Enabled')}</th>
69 69 %for plugin in available_plugins:
70 <tr class="${'inactive' if (not plugin.is_active() and plugin.get_id() in enabled_plugins) else ''}">
70 <tr class="${('inactive' if (not plugin.is_active() and plugin.get_id() in enabled_plugins) else '')}">
71 71 <td>
72 <span plugin_id="${plugin.get_id()}" class="toggle-plugin btn ${'btn-success' if plugin.get_id() in enabled_plugins else ''}">
73 ${_('activated') if plugin.get_id() in enabled_plugins else _('not active')}
72 <span plugin_id="${plugin.get_id()}" class="toggle-plugin btn ${('btn-success' if plugin.get_id() in enabled_plugins else '')}">
73 ${(_('activated') if plugin.get_id() in enabled_plugins else _('not active'))}
74 74 </span>
75 75 </td>
76 76 <td>${plugin.get_display_name()}</td>
@@ -2,10 +2,10 b''
2 2 <%inherit file="/base/base.mako"/>
3 3
4 4 <%def name="title()">
5 ${_('Authentication Settings')}
6 %if c.rhodecode_name:
5 ${_('Authentication Settings')}
6 %if c.rhodecode_name:
7 7 &middot; ${h.branding(c.rhodecode_name)}}
8 %endif
8 %endif
9 9 </%def>
10 10
11 11 <%def name="breadcrumbs_links()">
@@ -17,22 +17,23 b''
17 17 </%def>
18 18
19 19 <%def name="menu_bar_nav()">
20 ${self.menu_items(active='admin')}
20 ${self.menu_items(active='admin')}
21 </%def>
22
23 <%def name="menu_bar_subnav()">
24 ${self.admin_menu(active='authentication')}
21 25 </%def>
22 26
23 27 <%def name="main()">
28
24 29 <div class="box">
25 <div class="title">
26 ${self.breadcrumbs()}
27 </div>
30
28 31 <div class='sidebar-col-wrapper'>
29 32
30 ## TODO: This is repeated in the auth root template and should be merged
31 ## into a single solution.
32 33 <div class="sidebar">
33 34 <ul class="nav nav-pills nav-stacked">
34 35 % for item in resource.get_root().get_nav_list():
35 <li ${'class=active' if item == resource else ''}>
36 <li ${('class=active' if item == resource else '')}>
36 37 <a href="${request.resource_path(item, route_name='auth_home')}">${item.display_name}</a>
37 38 </li>
38 39 % endfor
General Comments 0
You need to be logged in to leave comments. Login now