##// END OF EJS Templates
auth: expose a option to calculate how we end up having super-admin permission....
auth: expose a option to calculate how we end up having super-admin permission. This is now used only for visual display. The old way is still faster for permissions calculation. - the extended way will be used in permission summary showing a much more detailed permission summary for super-admins.

File last commit:

r1758:98d57cd2 default
r2065:adc2d1ca default
Show More
defaults.mako
42 lines | 1017 B | application/x-mako | MakoHtmlLexer
## -*- 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()">
${h.link_to(_('Admin'),h.route_path('admin_home'))}
&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">
<li class="${'active' if c.active=='repositories' else ''}"><a href="${h.url('admin_defaults_repositories')}">${_('Repository')}</a></li>
</ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/defaults/defaults_${c.active}.mako"/>
</div>
</div>
</div>
</%def>