diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html --- a/rhodecode/templates/base/base.html +++ b/rhodecode/templates/base/base.html @@ -135,20 +135,20 @@
  • ${h.link_to(_('Lock'), h.url('toggle_locking',repo_name=c.repo_name),class_='locking_add')}
  • %endif %endif - ## TODO: this check feels wrong, it would be better to have a check for permissions - ## also it feels like a job for the controller - %if c.rhodecode_user.username != 'default': -
  • - - ${_('Follow')} - ${_('Unfollow')} - -
  • -
  • ${_('Fork')}
  • - %if h.is_hg(c.rhodecode_repo): -
  • ${_('Create Pull Request')}
  • - %endif - %endif + ## TODO: this check feels wrong, it would be better to have a check for permissions + ## also it feels like a job for the controller + %if c.rhodecode_user.username != 'default': +
  • + + ${_('Follow')} + ${_('Unfollow')} + +
  • +
  • ${_('Fork')}
  • + %if h.is_hg(c.rhodecode_repo): +
  • ${_('Create Pull Request')}
  • + %endif + %endif