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> </button>
{{#unless Discourse.SiteSettings.invite_only}} {{#unless Discourse.SiteSettings.invite_only}}
{{i18n create_account.invite}} <button class="btn btn-large" id="new-account-link" {{action showCreateAccount}}>
<a id="new-account-link" {{action showCreateAccount}}> {{i18n create_account.title}}
{{i18n create_account.action}} </button>
</a>
{{/unless}} {{/unless}}
{{/if}} {{/if}}
</div> </div>

View File

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

View File

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