changeset 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 2464ac75d77a
children d204788c5677
files rhodecode/templates/admin/users/user_edit_my_account.html rhodecode/templates/journal/journal.html
diffstat 2 files changed, 0 insertions(+), 10 deletions(-) [+]
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 -->
--- a/rhodecode/templates/journal/journal.html	Fri Feb 01 00:07:23 2013 +0100
+++ b/rhodecode/templates/journal/journal.html	Thu Jan 31 23:27:21 2013 +0100
@@ -56,11 +56,6 @@
                <li>
                  <span><a id="show_my" class="link-white" href="#my">${_('My repos')}</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>