diff --git a/app/assets/javascripts/discourse/app/templates/invites/show.hbs b/app/assets/javascripts/discourse/app/templates/invites/show.hbs index 42c385e0e74..cacd25edc79 100644 --- a/app/assets/javascripts/discourse/app/templates/invites/show.hbs +++ b/app/assets/javascripts/discourse/app/templates/invites/show.hbs @@ -1,138 +1,140 @@ -
-
-

{{welcomeTitle}}

- - {{#unless successMessage}} - - {{/unless}} -
+{{#d-section pageClass="invite"}} +
+ -
-
-
- {{i18n -
+
+
+
+ {{i18n +
-
- {{#if successMessage}} -
-

{{html-safe successMessage}}

-
- {{else}} -

{{i18n "invites.invited_by"}}

-

{{user-info user=invitedBy}}

+
+ {{#if successMessage}} +
+

{{html-safe successMessage}}

+
+ {{else}} +

{{i18n "invites.invited_by"}}

+

{{user-info user=invitedBy}}

- {{#if 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}} + {{/if}} - {{/if}} - {{#if discourseConnectEnabled}} - - {{i18n "continue"}} - - {{/if}} + {{#unless isInviteLink}} + + {{/unless}} - {{#if shouldDisplayForm}} -
- {{#if isInviteLink}} -
-
+{{/d-section}}