##// END OF EJS Templates
repositories: allow updating repository settings for users without store-in-root permissions...
repositories: allow updating repository settings for users without store-in-root permissions in case repository name didn't change. - when an user owns repository in root location, and isn't allow to create repositories in root before we failed to allow this user to update such repository settings due to this validation. We'll now check if name didn't change and in this case allow to update since this doesn't store any new data in root location.

File last commit:

r3585:1fe68664 new-ui
r4415:fc1f6c1b default
Show More
repo_add.mako
37 lines | 799 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- 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:
repositories: rewrote whole admin section to pyramid....
r2014 ${h.link_to(_('Admin'), h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
repositories: rewrote whole admin section to pyramid....
r2014 ${h.link_to(_('Repositories'), h.route_path('repos'))}
templating: use .mako as extensions for template files.
r1282 %else:
${_('Admin')}
&raquo;
${_('Repositories')}
%endif
&raquo;
${_('Add Repository')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
admin: show admin menus in add pages, and edit pages for users/groups/user groups
r3585 <%def name="menu_bar_subnav()">
${self.admin_menu(active='repositories')}
</%def>
templating: use .mako as extensions for template files.
r1282 <%def name="main()">
<div class="box">
<%include file="repo_add_base.mako"/>
</div>
</%def>