mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Moved the welcome page URL input field to the bottom of the section
refs https://github.com/TryGhost/Team/issues/1168
This commit is contained in:
parent
333f6f2424
commit
c67e76a1ff
@ -47,24 +47,6 @@
|
||||
{{/if}}
|
||||
<GhErrorMessage @errors={{this.errors}} @property="description" />
|
||||
</GhFormGroup>
|
||||
{{#if (feature "tierWelcomePages")}}
|
||||
<GhFormGroup>
|
||||
<label for="welcomePage" class="fw6">Welcome page</label>
|
||||
<GhUrlInput
|
||||
@id="welcomePage"
|
||||
@value={{readonly this.model.product.welcomePageURL}}
|
||||
@baseUrl={{readonly this.siteUrl}}
|
||||
@setResult={{this.setWelcomePageURL}}
|
||||
@validateUrl={{this.validateWelcomePageURL}}
|
||||
@placeholder={{readonly this.siteUrl}}
|
||||
/>
|
||||
{{#if this.isFreeProduct}}
|
||||
<p>Redirect to this URL after signup for a free membership</p>
|
||||
{{else}}
|
||||
<p>Redirect to this URL after signup for premium membership</p>
|
||||
{{/if}}
|
||||
</GhFormGroup>
|
||||
{{/if}}
|
||||
{{#unless this.isFreeProduct}}
|
||||
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="prices">
|
||||
<div class="gh-settings-members-pricelabelcont">
|
||||
@ -118,6 +100,24 @@
|
||||
{{/if}}
|
||||
</GhFormGroup>
|
||||
{{/unless}}
|
||||
{{#if (feature "tierWelcomePages")}}
|
||||
<GhFormGroup>
|
||||
<label for="welcomePage" class="fw6">Welcome page</label>
|
||||
<GhUrlInput
|
||||
@id="welcomePage"
|
||||
@value={{readonly this.model.product.welcomePageURL}}
|
||||
@baseUrl={{readonly this.siteUrl}}
|
||||
@setResult={{this.setWelcomePageURL}}
|
||||
@validateUrl={{this.validateWelcomePageURL}}
|
||||
@placeholder={{readonly this.siteUrl}}
|
||||
/>
|
||||
{{#if this.isFreeProduct}}
|
||||
<p>Redirect to this URL after signup for a free membership</p>
|
||||
{{else}}
|
||||
<p>Redirect to this URL after signup for premium membership</p>
|
||||
{{/if}}
|
||||
</GhFormGroup>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<h4 class="gh-main-section-header small bn">Benefits</h4>
|
||||
|
Loading…
Reference in New Issue
Block a user