mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Product price cleanup
- removed bottom block (welcome page and stripe checkout link) from price modal
This commit is contained in:
parent
1d660218ae
commit
6cf86f431b
2 changed files with 1 additions and 35 deletions
|
@ -8,7 +8,6 @@
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="gh-main-section-block">
|
<div class="gh-main-section-block">
|
||||||
<h4 class="gh-main-section-header small bn">Pricing</h4>
|
|
||||||
<div class="gh-main-section-content grey gh-product-priceform-block">
|
<div class="gh-main-section-content grey gh-product-priceform-block">
|
||||||
<GhFormGroup @errors={{this.price.errors}} @hasValidated={{this.price.hasValidated}} @property="name">
|
<GhFormGroup @errors={{this.price.errors}} @hasValidated={{this.price.hasValidated}} @property="name">
|
||||||
<label for="name" class="fw6">Name</label>
|
<label for="name" class="fw6">Name</label>
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
@disabled={{this.isExistingPrice}}
|
@disabled={{this.isExistingPrice}}
|
||||||
@input={{action "setAmount" value="target.value"}}
|
@input={{action "setAmount" value="target.value"}}
|
||||||
/>
|
/>
|
||||||
{{!-- <span class="gh-input-append"><span class="ttu">{{capitalize (or this.currencyVal "usd")}} </span>/{{or this.periodVal "month"}}</span> --}}
|
|
||||||
</div>
|
</div>
|
||||||
<GhErrorMessage @errors={{this.price.errors}} @property="price" />
|
<GhErrorMessage @errors={{this.price.errors}} @property="price" />
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
@ -69,30 +67,6 @@
|
||||||
/>
|
/>
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="gh-main-section-header small bn">Advanced</h4>
|
|
||||||
<div class="gh-main-section-content grey gh-product-priceform-block">
|
|
||||||
<GhFormGroup @errors={{this.price.errors}} @hasValidated={{this.price.hasValidated}} @property="welcome-page">
|
|
||||||
<label for="welcome-page" class="fw6">Welcome page</label>
|
|
||||||
<GhTextInput
|
|
||||||
@value=''
|
|
||||||
@name="welcome-page"
|
|
||||||
@id="welcome-page"
|
|
||||||
@class="gh-input" />
|
|
||||||
<p>Redirect to this URL after signing up with this price</p>
|
|
||||||
<GhErrorMessage @errors={{this.price.errors}} @property="welcome-page" />
|
|
||||||
</GhFormGroup>
|
|
||||||
<GhFormGroup @errors={{this.price.errors}} @hasValidated={{this.price.hasValidated}} @property="stripe-url">
|
|
||||||
<label for="stripe-url" class="fw6">Stripe Checkout URL</label>
|
|
||||||
<GhTextInput
|
|
||||||
@value='https://example.com/checkout'
|
|
||||||
@name="stripe-url"
|
|
||||||
@id="stripe-url"
|
|
||||||
@disabled={{true}}
|
|
||||||
@class="gh-input" />
|
|
||||||
<GhErrorMessage @errors={{this.price.errors}} @property="stripe-url" />
|
|
||||||
</GhFormGroup>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -120,14 +120,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if this.showPriceModal}}
|
{{#if this.showPriceModal}}
|
||||||
{{!-- <GhFullscreenModal @modifier="action wide member-product">
|
|
||||||
<ModalProductPrice
|
|
||||||
@model={{hash
|
|
||||||
price=this.priceModel
|
|
||||||
}}
|
|
||||||
@confirm={{action "savePrice"}}
|
|
||||||
@closeModal={{this.closePriceModal}} />
|
|
||||||
</GhFullscreenModal> --}}
|
|
||||||
<GhFullscreenModal
|
<GhFullscreenModal
|
||||||
@modal="product-price"
|
@modal="product-price"
|
||||||
@model={{hash
|
@model={{hash
|
||||||
|
@ -135,7 +127,7 @@
|
||||||
}}
|
}}
|
||||||
@confirm={{action "savePrice"}}
|
@confirm={{action "savePrice"}}
|
||||||
@close={{this.closePriceModal}}
|
@close={{this.closePriceModal}}
|
||||||
@modifier="action wide body-scrolling product-ssprice" />
|
@modifier="action wide product-ssprice" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if this.showUnsavedChangesModal}}
|
{{#if this.showUnsavedChangesModal}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue