mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Copy refinements for tiers
- changed 'Products' to 'Tiers' - changed 'A segment' to 'Specific tiers'
This commit is contained in:
parent
dfb0acf1a1
commit
95359d56f2
@ -1,4 +1,4 @@
|
|||||||
<label>Products</label>
|
<label>Tiers</label>
|
||||||
<div class="gh-product-cards">
|
<div class="gh-product-cards">
|
||||||
{{#each this.products as |product productIdx|}}
|
{{#each this.products as |product productIdx|}}
|
||||||
<div class="gh-product-card">
|
<div class="gh-product-card">
|
||||||
|
@ -25,7 +25,7 @@ export default Component.extend({
|
|||||||
this.availableVisibilities = VISIBILITIES;
|
this.availableVisibilities = VISIBILITIES;
|
||||||
if (this.feature.get('multipleProducts')) {
|
if (this.feature.get('multipleProducts')) {
|
||||||
this.availableVisibilities.push(
|
this.availableVisibilities.push(
|
||||||
{label: 'A segment', name: 'filter'}
|
{label: 'Specific tier(s)', name: 'filter'}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -30,7 +30,7 @@ export default class SettingsMembersDefaultPostAccess extends Component {
|
|||||||
}];
|
}];
|
||||||
if (this.feature.get('multipleProducts')) {
|
if (this.feature.get('multipleProducts')) {
|
||||||
defaultOptions.push({
|
defaultOptions.push({
|
||||||
name: 'A segment',
|
name: 'Specific tier(s)',
|
||||||
description: 'Members with any of the selected tiers',
|
description: 'Members with any of the selected tiers',
|
||||||
value: 'filter',
|
value: 'filter',
|
||||||
icon: 'members-segment',
|
icon: 'members-segment',
|
||||||
|
@ -338,7 +338,7 @@ export default class MembersAccessController extends Controller {
|
|||||||
if (this.settings.get('errors').length !== 0) {
|
if (this.settings.get('errors').length !== 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// When no filer is selected in `A Segment` option
|
// When no filer is selected in `Specific tier(s)` option
|
||||||
if (!this.settings.get('defaultContentVisibility')) {
|
if (!this.settings.get('defaultContentVisibility')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user