diff rhodecode/templates/admin/users/user_edit_my_account.html @ 3293:09ba877db6d3 beta

user edit and journal: drop "Add repo" - it has a more natural location in the "group"
author Mads Kiilerich <madski@unity3d.com>
date Thu, 31 Jan 2013 23:27:21 +0100
parents c20adbaf16af
children 7854097b189c
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account.html	Fri Feb 01 00:07:23 2013 +0100
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html	Thu Jan 31 23:27:21 2013 +0100
@@ -40,11 +40,6 @@
            <li>
              <span><a id="show_pullrequests" class="link-white" href="#pullrequests">${_('My pull requests')}</a> </span>
            </li>
-           %if h.HasPermissionAny('hg.admin','hg.create.repository')():
-             <li>
-               <span>${h.link_to(_('Add repo'),h.url('admin_settings_create_repository'))}</span>
-             </li>
-           %endif
          </ul>
     </div>
     <!-- end box / title -->