##// END OF EJS Templates
caches: use different namespaces for conditional_cache wrapper....
caches: use different namespaces for conditional_cache wrapper. Before we used one namespace for ALL meaning caches were kept in single file, or single DB row. While this makes sense for single functions, a per-user, per-group cache should be divided to single files.

File last commit:

r2014:b776c5e0 default
r2814:45a75c50 default
Show More
repo_add.mako
37 lines | 818 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Add repository')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
%if c.rhodecode_user.is_admin:
${h.link_to(_('Admin'), h.route_path('admin_home'))}
&raquo;
${h.link_to(_('Repositories'), h.route_path('repos'))}
%else:
${_('Admin')}
&raquo;
${_('Repositories')}
%endif
&raquo;
${_('Add Repository')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<%include file="repo_add_base.mako"/>
</div>
</%def>