Changeset - e8afa84ab131
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-06-07 18:08:21
marcin@python-works.com
fixes issue #199 wrong redirection for non admin users after creating a repository
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/admin/repos/repo_add_base.html
Show inline comments
 
@@ -7,12 +7,15 @@ ${h.form(url('repos'))}
 
        <div class="field">
 
            <div class="label">
 
                <label for="repo_name">${_('Name')}:</label>
 
            </div>
 
            <div class="input">
 
                ${h.text('repo_name',c.new_repo,class_="small")}
 
                %if not h.HasPermissionAll('hg.admin')('repo create form'):
 
                    ${h.hidden('user_created',True)}
 
                %endif
 
            </div>
 
         </div>
 
        <div class="field">
 
            <div class="label">
 
                <label for="clone_uri">${_('Clone from')}:</label>
 
            </div>
0 comments (0 inline, 0 general)