Commits

Marcin Kuzminski committed e8afa84

fixes issue #199 wrong redirection for non admin users after creating a repository

  • Participants
  • Parent commits 9c0f5d5
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/templates/admin/repos/repo_add_base.html

             </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">