0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Removed welcome page settings from Portal settings UI

This commit is contained in:
Peter Zimon 2021-05-07 18:36:39 +02:00
parent 8eee71f2d6
commit af5b053aab

View file

@ -197,56 +197,6 @@
{{/if}}
{{/if}}
</div>
<div class="gh-portal-setting-section redirects">
<h4 class="gh-portal-setting-sectionheading">Welcome page</h4>
<GhFormGroup
@errors={{settings.errors}}
@hasValidated={{settings.hasValidated}}
@property="membersFreeSignupRedirect"
@classNames="mt2"
>
<h4 class="gh-portal-setting-title">For free signups</h4>
<div class="flex items-center mt2">
<GhUrlInput
@value={{readonly this.settings.membersFreeSignupRedirect}}
@baseUrl={{readonly this.siteUrl}}
@setResult={{action "setFreeSignupRedirect"}}
@validateUrl={{action "validateFreeSignupRedirect"}}
@placeholder={{readonly this.siteUrl}}
/>
</div>
<GhErrorMessage
@errors={{settings.errors}}
@property="membersFreeSignupRedirect"
/>
<p>Redirect to this URL after free signup</p>
</GhFormGroup>
{{#if (and this.isStripeConfigured hasPaidPriceChecked)}}
<GhFormGroup
@errors={{settings.errors}}
@hasValidated={{settings.hasValidated}}
@property="membersPaidSignupRedirect"
@classNames="space-l pb5"
>
<h4 class="gh-portal-setting-title">For paid signups</h4>
<div class="flex items-center mt2">
<GhUrlInput
@value={{readonly this.settings.membersPaidSignupRedirect}}
@baseUrl={{readonly this.siteUrl}}
@setResult={{action "setPaidSignupRedirect"}}
@validateUrl={{action "validatePaidSignupRedirect"}}
@placeholder={{readonly this.siteUrl}}
/>
</div>
<GhErrorMessage
@errors={{settings.errors}}
@property="membersPaidSignupRedirect"
/>
<p>Redirect to this URL after paid signup</p>
</GhFormGroup>
{{/if}}
</div>
</fieldset>
</div>
</div>