mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
Updated offer durations copy and order
This commit is contained in:
parent
52159dffe6
commit
cbfca5f23f
@ -33,11 +33,11 @@ export default class OffersController extends Controller {
|
||||
duration: 'forever'
|
||||
},
|
||||
{
|
||||
label: 'Once',
|
||||
label: 'First-payment',
|
||||
duration: 'once'
|
||||
},
|
||||
{
|
||||
label: 'Multiple months',
|
||||
label: 'Multiple-months',
|
||||
duration: 'repeating'
|
||||
}
|
||||
];
|
||||
@ -387,27 +387,27 @@ export default class OffersController extends Controller {
|
||||
if (cadence === 'month') {
|
||||
this.durations = [
|
||||
{
|
||||
label: 'Once',
|
||||
label: 'First-payment',
|
||||
duration: 'once'
|
||||
},
|
||||
{
|
||||
label: 'Multiple-months',
|
||||
duration: 'repeating'
|
||||
},
|
||||
{
|
||||
label: 'Forever',
|
||||
duration: 'forever'
|
||||
},
|
||||
{
|
||||
label: 'Multiple months',
|
||||
duration: 'repeating'
|
||||
}
|
||||
];
|
||||
} else {
|
||||
this.durations = [
|
||||
{
|
||||
label: 'Forever',
|
||||
duration: 'forever'
|
||||
label: 'First-payment',
|
||||
duration: 'once'
|
||||
},
|
||||
{
|
||||
label: 'Once',
|
||||
duration: 'once'
|
||||
label: 'Forever',
|
||||
duration: 'forever'
|
||||
}
|
||||
];
|
||||
if (this.offer.duration === 'repeating') {
|
||||
|
@ -42,10 +42,7 @@
|
||||
</div>
|
||||
|
||||
<h4 class="gh-main-section-header small bn">
|
||||
Discount information
|
||||
{{#if this.offer.isNew}}
|
||||
<span class="midgrey"> – Once saved, this cannot be changed.</span>
|
||||
{{/if}}
|
||||
Discount information <span class="midgrey"> – Once saved, this cannot be changed.</span>
|
||||
</h4>
|
||||
<div class="gh-main-section-content grey">
|
||||
<GhFormGroup @errors={{this.errors}} @property="product-cadence">
|
||||
|
Loading…
Reference in New Issue
Block a user