##// END OF EJS Templates
tables: unified tables for main pages of rhodecode repo pages.
tables: unified tables for main pages of rhodecode repo pages.

File last commit:

r4062:42f2ce8c default
r4511:c6ccda60 stable
Show More
settings.mako
53 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Settings administration')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
audit-logs: introduced new view to replace admin journal....
r1758 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
${_('Settings')}
</%def>
ui: navigation, fixed wrapping of new admin navigation items
r3566 ##
templating: use .mako as extensions for template files.
r1282 <%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
ui: navigation, fixed wrapping of new admin navigation items
r3566 <%def name="menu_bar_subnav()">
${self.admin_menu(active='settings')}
</%def>
templating: use .mako as extensions for template files.
r1282 <%def name="side_bar_nav()">
% for navitem in c.navlist:
templates: use a single helper to select activated menu entries in templates.
r4062 <li class="${h.is_active(navitem.active_list, c.active)}">
templating: use .mako as extensions for template files.
r1282 <a href="${navitem.url}">${navitem.name}</a>
</li>
% endfor
</%def>
<%def name="main_content()">
<%include file="/admin/settings/settings_${c.active}.mako"/>
</%def>
<%def name="main()">
<div class="box">
##main
<div class='sidebar-col-wrapper'>
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
${self.side_bar_nav()}
</ul>
</div>
exceptions: added new exception tracking capability....
r2907 <div class="main-content-auto-width">
templating: use .mako as extensions for template files.
r1282 ${self.main_content()}
</div>
</div>
</div>
</%def>