diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -192,9 +192,10 @@ window.onhashchange = function() { - %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): -
  • - ${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')} + %if c.rhodecode_user.username != 'default': +
  • + ${_('Repository Size')} +
  • %endif @@ -206,11 +207,10 @@ window.onhashchange = function() { %endif - %if c.rhodecode_user.username != 'default': -
  • - ${_('Repository Size')} - -
  • + %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): +
  • + ${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')} +
  • %endif