##// END OF EJS Templates
Bump version: 5.1.0 → 5.1.1
Bump version: 5.1.0 → 5.1.1

File last commit:

r5037:bd722d6e default
r5482:deed64ab stable
Show More
settings.mako
52 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
<%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()">
${h.link_to(_('Admin'),h.route_path('admin_home'))}
&raquo;
${_('Settings')}
</%def>
##
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
<%def name="menu_bar_subnav()">
${self.admin_menu(active='settings')}
</%def>
<%def name="side_bar_nav()">
% for navitem in c.navlist:
<li class="${h.is_active(navitem.active_list, c.active)}">
<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>
<div class="main-content-auto-width">
${self.main_content()}
</div>
</div>
</div>
</%def>