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 @@ -29,7 +29,13 @@
-
${h.link_to(_('Forgot password ?'),h.url('reset_password'))}
${h.submit('sign_in','Sign In',class_="ui-button")} +
${h.link_to(_('Forgot password ?'),h.url('reset_password'))}
+
+ %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): + ${h.link_to(_("Don't have an account ?"),h.url('register'))} + %endif +
+ ${h.submit('sign_in','Sign In',class_="ui-button")}
@@ -63,7 +69,7 @@ %endif -
+
@@ -95,7 +101,7 @@