Mercurial > public > src > rhodecode
changeset 823:03c242fbca9c beta
added add repository to my view
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 26 Nov 2010 03:26:21 +0100 |
parents | d92fc9b5e6f9 |
children | 632b0761e617 |
files | rhodecode/templates/admin/users/user_edit_my_account.html |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account.html Fri Nov 26 03:20:13 2010 +0100 +++ b/rhodecode/templates/admin/users/user_edit_my_account.html Fri Nov 26 03:26:21 2010 +0100 @@ -99,7 +99,14 @@ <div class="title"> <h5>${_('My repositories')} <input class="top-right-rounded-corner top-left-rounded-corner bottom-left-rounded-corner bottom-right-rounded-corner" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> - </h5> + </h5> + %if h.HasPermissionAny('hg.admin','hg.create.repository')(): + <ul class="links"> + <li> + <span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span> + </li> + </ul> + %endif </div> <!-- end box / title --> <div class="table">