defaults.mako
43 lines
| 1.0 KiB
| application/x-mako
|
MakoHtmlLexer
r1282 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.mako"/> | ||||
<%def name="title()"> | ||||
${_('Repositories defaults')} | ||||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
<%def name="breadcrumbs_links()"> | ||||
r1758 | ${h.link_to(_('Admin'),h.route_path('admin_home'))} | |||
r1282 | » | |||
${_('Repositories defaults')} | ||||
</%def> | ||||
<%def name="menu_bar_nav()"> | ||||
${self.menu_items(active='admin')} | ||||
</%def> | ||||
r3566 | <%def name="menu_bar_subnav()"> | |||
${self.admin_menu(active='defaults')} | ||||
</%def> | ||||
r1282 | <%def name="main()"> | |||
<div class="box"> | ||||
##main | ||||
<div class="sidebar-col-wrapper"> | ||||
<div class="sidebar"> | ||||
<ul class="nav nav-pills nav-stacked"> | ||||
r2076 | <li class="${'active' if c.active=='repositories' else ''}"><a href="${h.route_path('admin_defaults_repositories')}">${_('Repository')}</a></li> | |||
r1282 | </ul> | |||
</div> | ||||
<div class="main-content-full-width"> | ||||
<%include file="/admin/defaults/defaults_${c.active}.mako"/> | ||||
</div> | ||||
</div> | ||||
</div> | ||||
</%def> | ||||