##// END OF EJS Templates
dependencies: bumped pyramid-jinja to 2.7.0
dependencies: bumped pyramid-jinja to 2.7.0

File last commit:

r2076:5470f1cf default
r2281:c860c542 default
Show More
defaults.mako
42 lines | 1.0 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()">
${_('Repositories defaults')}
%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;
${_('Repositories defaults')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
<%def name="main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
##main
<div class="sidebar-col-wrapper">
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
admin-defaults: ported views to pyramid.
r2076 <li class="${'active' if c.active=='repositories' else ''}"><a href="${h.route_path('admin_defaults_repositories')}">${_('Repository')}</a></li>
templating: use .mako as extensions for template files.
r1282 </ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/defaults/defaults_${c.active}.mako"/>
</div>
</div>
</div>
</%def>