# HG changeset patch # User Marcin Kuzminski # Date 2010-12-01 18:11:34 # Node ID 81c173490971b495135eb6bbd8cd3ce8efc449fd # Parent ffd967053e4e20ab2792b0c74e5f20a184ff29af fixed remeber passwords css, and hide add new repository for anonymous users diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -1405,7 +1405,7 @@ overflow:hidden; border-top:1px solid #DDD; text-align:left; margin:0; -padding:10px 0 0 114px; +padding:10px 0 0 150px; } #register div.form div.fields div.buttons div.highlight input.ui-state-default { diff --git a/rhodecode/templates/index.html b/rhodecode/templates/index.html --- a/rhodecode/templates/index.html +++ b/rhodecode/templates/index.html @@ -30,13 +30,15 @@
${_('Dashboard')}
- %if h.HasPermissionAny('hg.admin','hg.create.repository')(): - - %endif + %if c.rhodecode_user.username != 'default': + %if h.HasPermissionAny('hg.admin','hg.create.repository')(): + + %endif + %endif