Mercurial > kallithea
changeset 1367:e8afa84ab131 beta
fixes issue #199 wrong redirection for non admin users after creating a repository
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 07 Jun 2011 18:08:21 +0200 |
parents | 9c0f5d558789 |
children | 04b43168742d |
files | rhodecode/templates/admin/repos/repo_add_base.html |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repo_add_base.html Tue Jun 07 17:58:51 2011 +0200 +++ b/rhodecode/templates/admin/repos/repo_add_base.html Tue Jun 07 18:08:21 2011 +0200 @@ -10,6 +10,9 @@ </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">