# HG changeset patch # User Mads Kiilerich # Date 2013-01-31 22:27:21 # Node ID 09ba877db6d31a788a7a49922e31f94795164de1 # Parent 2464ac75d77a3452ec54bba662e590d86e58eda5 user edit and journal: drop "Add repo" - it has a more natural location in the "group" diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html +++ b/rhodecode/templates/admin/users/user_edit_my_account.html @@ -40,11 +40,6 @@
  • ${_('My pull requests')}
  • - %if h.HasPermissionAny('hg.admin','hg.create.repository')(): -
  • - ${h.link_to(_('Add repo'),h.url('admin_settings_create_repository'))} -
  • - %endif diff --git a/rhodecode/templates/journal/journal.html b/rhodecode/templates/journal/journal.html --- a/rhodecode/templates/journal/journal.html +++ b/rhodecode/templates/journal/journal.html @@ -56,11 +56,6 @@
  • ${_('My repos')}
  • - %if h.HasPermissionAny('hg.admin','hg.create.repository')(): -
  • - ${h.link_to(_('Add repo'),h.url('admin_settings_create_repository'))} -
  • - %endif