mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Removed shared redirect inputs when Tiers enabled
refs https://github.com/TryGhost/Team/issues/1168 These are being replaced by Tier specific redirect which are set in the Tier modal when Tiers feature is enabled.
This commit is contained in:
parent
41c138640a
commit
8fbb5eb04d
1 changed files with 32 additions and 31 deletions
|
@ -95,23 +95,24 @@
|
||||||
@products={{this.products}}
|
@products={{this.products}}
|
||||||
@openEditProduct={{this.openEditProduct}}
|
@openEditProduct={{this.openEditProduct}}
|
||||||
/>
|
/>
|
||||||
|
{{else}}
|
||||||
|
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="free-welcome-page">
|
||||||
|
<label for="freeWelcomePage">Welcome page</label>
|
||||||
|
<GhUrlInput
|
||||||
|
@id="freeWelcomePage"
|
||||||
|
@value={{readonly this.settings.membersFreeSignupRedirect}}
|
||||||
|
@baseUrl={{readonly this.siteUrl}}
|
||||||
|
@setResult={{this.setFreeSignupRedirect}}
|
||||||
|
@validateUrl={{this.validateFreeSignupRedirect}}
|
||||||
|
@placeholder={{readonly this.siteUrl}}
|
||||||
|
/>
|
||||||
|
<GhErrorMessage
|
||||||
|
@errors={{settings.errors}}
|
||||||
|
@property="membersFreeSignupRedirect"
|
||||||
|
/>
|
||||||
|
<p>Redirect to this URL after signup for a free membership</p>
|
||||||
|
</GhFormGroup>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="free-welcome-page">
|
|
||||||
<label for="freeWelcomePage">Welcome page</label>
|
|
||||||
<GhUrlInput
|
|
||||||
@id="freeWelcomePage"
|
|
||||||
@value={{readonly this.settings.membersFreeSignupRedirect}}
|
|
||||||
@baseUrl={{readonly this.siteUrl}}
|
|
||||||
@setResult={{this.setFreeSignupRedirect}}
|
|
||||||
@validateUrl={{this.validateFreeSignupRedirect}}
|
|
||||||
@placeholder={{readonly this.siteUrl}}
|
|
||||||
/>
|
|
||||||
<GhErrorMessage
|
|
||||||
@errors={{settings.errors}}
|
|
||||||
@property="membersFreeSignupRedirect"
|
|
||||||
/>
|
|
||||||
<p>Redirect to this URL after signup for a free membership</p>
|
|
||||||
</GhFormGroup>
|
|
||||||
</div>
|
</div>
|
||||||
{{/liquid-if}}
|
{{/liquid-if}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -205,23 +206,23 @@
|
||||||
<p class="response w-100"><span class="red">{{this.stripePlanError}}</span></p>
|
<p class="response w-100"><span class="red">{{this.stripePlanError}}</span></p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="paid-welcome-page">
|
||||||
|
<label for="paidWelcomePage">Welcome page</label>
|
||||||
|
<GhUrlInput
|
||||||
|
@value={{readonly this.settings.membersPaidSignupRedirect}}
|
||||||
|
@baseUrl={{readonly this.siteUrl}}
|
||||||
|
@setResult={{this.setPaidSignupRedirect}}
|
||||||
|
@validateUrl={{this.validatePaidSignupRedirect}}
|
||||||
|
@placeholder={{readonly this.siteUrl}}
|
||||||
|
/>
|
||||||
|
<GhErrorMessage
|
||||||
|
@errors={{settings.errors}}
|
||||||
|
@property="membersPaidSignupRedirect"
|
||||||
|
/>
|
||||||
|
<p>Redirect to this URL after signup for premium membership</p>
|
||||||
|
</GhFormGroup>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="paid-welcome-page">
|
|
||||||
<label for="paidWelcomePage">Welcome page</label>
|
|
||||||
<GhUrlInput
|
|
||||||
@value={{readonly this.settings.membersPaidSignupRedirect}}
|
|
||||||
@baseUrl={{readonly this.siteUrl}}
|
|
||||||
@setResult={{this.setPaidSignupRedirect}}
|
|
||||||
@validateUrl={{this.validatePaidSignupRedirect}}
|
|
||||||
@placeholder={{readonly this.siteUrl}}
|
|
||||||
/>
|
|
||||||
<GhErrorMessage
|
|
||||||
@errors={{settings.errors}}
|
|
||||||
@property="membersPaidSignupRedirect"
|
|
||||||
/>
|
|
||||||
<p>Redirect to this URL after signup for premium membership</p>
|
|
||||||
</GhFormGroup>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/liquid-if}}
|
{{/liquid-if}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue