disambiguate fresh start from adding recovery options

This commit is contained in:
AJ ONeal 2018-10-03 06:50:14 +00:00
parent fa7fc43a13
commit 20eec9abd3
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@ sign_in = Sign In
sign_in_with = Sign In With sign_in_with = Sign In With
sign_out = Sign Out sign_out = Sign Out
sign_up = Register sign_up = Register
add_recovery = Add Email and Password (for Account Recovery)
link_account = Link Account link_account = Link Account
link_account_signin_or_signup = Sign in with existing credentials to link your existing account to this account. Or register a new one. link_account_signin_or_signup = Sign in with existing credentials to link your existing account to this account. Or register a new one.
register = Register register = Register

View File

@ -4,7 +4,11 @@
<form class="ui form" action="{{.SignUpLink}}" method="post"> <form class="ui form" action="{{.SignUpLink}}" method="post">
{{.CsrfTokenHtml}} {{.CsrfTokenHtml}}
<h3 class="ui top attached header"> <h3 class="ui top attached header">
{{if .LinkAccountMode}}
{{.i18n.Tr "add_recovery"}}
{{else}}
{{.i18n.Tr "sign_up"}} {{.i18n.Tr "sign_up"}}
{{end}}
</h3> </h3>
<div class="ui attached segment"> <div class="ui attached segment">
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister)}} {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister)}}