# HG changeset patch # User Marcin Kuzminski # Date 2013-04-04 00:35:32 # Node ID b10976229890b8aa8d7031ed58d7cddd6b932ddf # Parent 44d173a8136f3879ac4233cd70b7e4e397db7e0c swap repo-size with settings in summary. It somehow feels more natural to be on bottom, it's just easier to click 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