make create new account a big button vs. link

This commit is contained in:
Jeff Atwood 2014-06-07 22:27:34 -07:00
parent 547ee55d42
commit 61bcdb926a
3 changed files with 9 additions and 12 deletions

View File

@ -55,10 +55,9 @@
</button>
{{#unless Discourse.SiteSettings.invite_only}}
{{i18n create_account.invite}}
<a id="new-account-link" {{action showCreateAccount}}>
{{i18n create_account.action}}
</a>
<button class="btn btn-large" id="new-account-link" {{action showCreateAccount}}>
{{i18n create_account.title}}
</button>
{{/unless}}
{{/if}}
</div>

View File

@ -42,17 +42,17 @@
</div>
<div class="modal-footer">
{{#if Discourse.SiteSettings.enable_local_logins}}
<button class='btn btn-large btn-primary'
<button class="btn btn-large btn-primary"
{{bind-attr disabled="loginDisabled"}}
{{action login}}>
<i class="fa fa-unlock"></i>&nbsp;{{loginButtonText}}
</button>
{{#if showSignupLink}}
&nbsp; {{i18n create_account.invite}}
<a id="new-account-link" {{action createAccount}}>
{{i18n create_account.action}}
</a>
&nbsp;
<button class="btn btn-large" id="new-account-link" {{action createAccount}}>
{{i18n create_account.title}}
</button>
{{/if}}
{{/if}}

View File

@ -482,9 +482,7 @@ en:
trust_level: 'Trust Level'
create_account:
title: "Create Account"
action: "Create one now!"
invite: "Don't have an account yet?"
title: "Create New Account"
failed: "Something went wrong, perhaps this email is already registered, try the forgot password link"
forgot_password: