##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r5037:bd722d6e default
r5551:5b9b5ed2 default
Show More
global.mako
51 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
nav: updated navigation entries for admin...
r3565 <%inherit file="/base/base.mako"/>
<%def name="title()">
ui: navigation, fixed wrapping of new admin navigation items
r3566 ${_('Integrations administration')}
nav: updated navigation entries for admin...
r3565 %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;
${_('Integrations')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
ui: navigation, fixed wrapping of new admin navigation items
r3566 <%def name="menu_bar_subnav()">
${self.admin_menu(active='integrations')}
</%def>
nav: updated navigation entries for admin...
r3565 <%def name="side_bar_nav()">
<li class="active">
<a href="${h.route_path('global_integrations_home')}">Global</a>
</li>
</%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>