diff --git a/app/assets/javascripts/discourse/app/templates/invites/show.hbs b/app/assets/javascripts/discourse/app/templates/invites/show.hbs index 4fbe0db6ced..c1d652b49f3 100644 --- a/app/assets/javascripts/discourse/app/templates/invites/show.hbs +++ b/app/assets/javascripts/discourse/app/templates/invites/show.hbs @@ -2,133 +2,136 @@
{{i18n "create_account.subheader_title"}}
+ {{#unless successMessage}} +{{i18n "create_account.subheader_title"}}
+ {{/unless}}{{html-safe successMessage}}
-{{i18n "invites.invited_by"}}
-{{user-info user=invitedBy}}
+{{html-safe successMessage}}
+{{i18n "invites.invited_by"}}
+{{user-info user=invitedBy}}
- {{#if associateHtml}} -- {{html-safe associateHtml}} -
- {{/if}} - - {{#unless isInviteLink}} - - {{/unless}} - - {{#if externalAuthsOnly}} - {{! authOptions are present once the user has followed the OmniAuth flow (e.g. twitter/google/etc) }} - {{#if authOptions}} - {{#unless isInviteLink}} - {{input-tip validation=emailValidation id="account-email-validation"}} - {{/unless}} - {{else}} - {{login-buttons externalLogin=(action "externalLogin")}} + {{#if associateHtml}} ++ {{html-safe associateHtml}} +
{{/if}} - {{/if}} - {{#if discourseConnectEnabled}} - - {{i18n "continue"}} - - {{/if}} + {{#unless isInviteLink}} + + {{/unless}} - {{#if shouldDisplayForm}} -