Mercurial > kallithea
changeset 3193:cbc644d96a53 beta
Add new quick link to created child groups within a group
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 22 Jan 2013 00:49:01 +0100 |
parents | b9105d31e582 |
children | d7282940d779 |
files | rhodecode/templates/admin/repos_groups/repos_groups_add.html rhodecode/templates/admin/repos_groups/repos_groups_edit.html |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos_groups/repos_groups_add.html Wed Jan 02 13:56:22 2013 +0100 +++ b/rhodecode/templates/admin/repos_groups/repos_groups_add.html Tue Jan 22 00:49:01 2013 +0100 @@ -50,7 +50,7 @@ <label for="group_parent_id">${_('Group parent')}:</label> </div> <div class="input"> - ${h.select('group_parent_id','',c.repo_groups,class_="medium")} + ${h.select('group_parent_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")} </div> </div>
--- a/rhodecode/templates/admin/repos_groups/repos_groups_edit.html Wed Jan 02 13:56:22 2013 +0100 +++ b/rhodecode/templates/admin/repos_groups/repos_groups_edit.html Tue Jan 22 00:49:01 2013 +0100 @@ -21,6 +21,11 @@ <!-- box / title --> <div class="title"> ${self.breadcrumbs()} + <ul class="links"> + <li> + <span>${h.link_to(_(u'ADD NEW CHILD GROUP'),h.url('new_repos_group', parent_group=c.repos_group.group_id))}</span> + </li> + </ul> </div> <!-- end box / title --> ${h.form(url('repos_group',id=c.repos_group.group_id),method='put')}