diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -120,191 +120,6 @@ ${h.end_form()} - - -
diff --git a/rhodecode/templates/admin/repos/repo_edit_perms.html b/rhodecode/templates/admin/repos/repo_edit_perms.html --- a/rhodecode/templates/admin/repos/repo_edit_perms.html +++ b/rhodecode/templates/admin/repos/repo_edit_perms.html @@ -7,18 +7,7 @@ ${_('member')} - ## USERS - + ## USERS %for r2p in c.repo_info.repo_to_perm: %if r2p.user.username =='default' and c.repo_info.private: @@ -35,7 +24,9 @@ ${h.radio('u_perm_%s' % r2p.user.username,'repository.read')} ${h.radio('u_perm_%s' % r2p.user.username,'repository.write')} ${h.radio('u_perm_%s' % r2p.user.username,'repository.admin')} - ${r2p.user.username} + + ${r2p.user.username} + %if r2p.user.username !='default': @@ -47,25 +38,16 @@ %endif %endfor - ## USERS GROUPS - + ## USERS GROUPS %for g2p in c.repo_info.users_group_to_perm: ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.none')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.read')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.write')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.admin')} - ${g2p.users_group.users_group_name} + + ${g2p.users_group.users_group_name} + ${_('revoke')} @@ -94,4 +76,206 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/rhodecode/templates/admin/repos/repos.html b/rhodecode/templates/admin/repos/repos.html --- a/rhodecode/templates/admin/repos/repos.html +++ b/rhodecode/templates/admin/repos/repos.html @@ -39,18 +39,18 @@ ## TYPE OF REPO %if repo['dbrepo']['repo_type'] =='hg': - ${_('Mercurial repository')} + ${_('Mercurial repository')} %elif repo['dbrepo']['repo_type'] =='git': - ${_('Git repository')} + ${_('Git repository')} %else: %endif ## PRIVATE/PUBLIC REPO %if repo['dbrepo']['private']: - ${_('private')} + ${_('private')} %else: - ${_('public')} + ${_('public')} %endif ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} diff --git a/rhodecode/templates/settings/repo_settings.html b/rhodecode/templates/settings/repo_settings.html --- a/rhodecode/templates/settings/repo_settings.html +++ b/rhodecode/templates/settings/repo_settings.html @@ -62,134 +62,12 @@
- ${h.submit('update','Update',class_="ui-button")} + ${h.submit('save','Save',class_="ui-button")} ${h.reset('reset','Reset',class_="ui-button")}
${h.end_form()} - -