diff --git a/app/assets/javascripts/discourse/app/components/modal/create-account.hbs b/app/assets/javascripts/discourse/app/components/modal/create-account.hbs index aca31285ab9..764b479bec8 100644 --- a/app/assets/javascripts/discourse/app/components/modal/create-account.hbs +++ b/app/assets/javascripts/discourse/app/components/modal/create-account.hbs @@ -25,7 +25,6 @@ {{i18n "user.email.title"}} - - {{#unless this.emailValidation.reason}} + {{#if this.emailValidation.reason}} + + {{else}} {{i18n "user.email.instructions"}} - {{/unless}} + {{/if}} - {{#unless this.passwordValidation.reason}} - - {{this.passwordInstructions}} - - {{/unless}}
- {{#unless this.nameValidation.reason}} - - {{this.nameInstructions}} - - {{/unless}} {{/if}}
@@ -250,34 +235,13 @@ {{#if this.site.desktopView}} {{#if (and this.showCreateForm this.site.mobileView)}} - {{#if this.disclaimerHtml}} -
- {{html-safe this.disclaimerHtml}} -
- {{/if}} - - - {{/if}} diff --git a/app/assets/javascripts/discourse/app/components/modal/login.hbs b/app/assets/javascripts/discourse/app/components/modal/login.hbs index ec50c33f775..014f0bae49f 100644 --- a/app/assets/javascripts/discourse/app/components/modal/login.hbs +++ b/app/assets/javascripts/discourse/app/components/modal/login.hbs @@ -27,10 +27,7 @@ {{else}} {{#if this.site.mobileView}} - + {{#if this.site.desktopView}} - + {{#if this.site.desktopView}} {{/unless}} {{#if this.hasAtLeastOneLoginButton}} @@ -123,7 +114,7 @@ <:footer> {{#if this.site.mobileView}} {{#unless this.hasNoLoginOptions}} - - {{/unless}} - - {{#if @showSignupLink}} - - {{/if}} -{{/if}} - - \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/signup-progress-bar.gjs b/app/assets/javascripts/discourse/app/components/signup-progress-bar.gjs index 23de7497bb6..587a2441b0f 100644 --- a/app/assets/javascripts/discourse/app/components/signup-progress-bar.gjs +++ b/app/assets/javascripts/discourse/app/components/signup-progress-bar.gjs @@ -10,6 +10,7 @@ import I18n from "discourse-i18n"; export default class SignupProgressBar extends Component { @service siteSettings; + @service site; @tracked steps = []; constructor() { @@ -48,25 +49,22 @@ export default class SignupProgressBar extends Component { {{#if @step}}