diff --git a/ghost/admin/.lint-todo b/ghost/admin/.lint-todo index 7f02d482e9..352ffa9f9f 100644 --- a/ghost/admin/.lint-todo +++ b/ghost/admin/.lint-todo @@ -1212,3 +1212,5 @@ remove|ember-template-lint|no-action|118|28|118|28|0eba6cead2056aa8d89e186bd0318 remove|ember-template-lint|no-action|135|19|135|19|2e591e0b5aa8f903afda1d0f2ffd2183812e6c2f|1652054400000|1662422400000|1665014400000|app/templates/editor.hbs remove|ember-template-lint|no-action|146|19|146|19|c90e6d7f98e739c3a6472176ceeecc896913f2f6|1652054400000|1662422400000|1665014400000|app/templates/editor.hbs remove|ember-template-lint|no-unused-block-params|1|0|1|0|df27de023763e49bb0cde497e82991bbfc16b1b1|1652054400000|1662422400000|1665014400000|lib/koenig-editor/addon/components/koenig-card-audio.hbs +add|ember-template-lint|no-action|20|150|20|150|d6149e8bd18677704c261b7d3e9afeaf8be9f6a6|1653350400000|1663718400000|1668906000000|app/components/modal-portal-settings.hbs +remove|ember-template-lint|no-action|20|150|20|150|d07a2c2968b7c337172eb3d189fcd004f05034d7|1652054400000|1662422400000|1665014400000|app/components/modal-portal-settings.hbs diff --git a/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs b/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs index e8cdd71652..96b724e651 100644 --- a/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs +++ b/ghost/admin/app/components/gh-launch-wizard/set-pricing.hbs @@ -121,7 +121,7 @@ id="monthly-plan" name="monthly-plan" checked={{this.isMonthlyChecked}} - disabled={{this.isPaidPriceDisabled}} + disabled={{not this.membersUtils.isStripeEnabled}} class="gh-input post-settings-featured" {{on "click" this.toggleMonthlyPlan}} data-test-checkbox="featured" @@ -140,7 +140,7 @@ id="yearly-plan" name="yearly-plan" checked={{this.isYearlyChecked}} - disabled={{this.isPaidPriceDisabled}} + disabled={{not this.membersUtils.isStripeEnabled}} class="gh-input post-settings-featured" {{on "click" this.toggleYearlyPlan}} data-test-checkbox="featured" @@ -166,4 +166,4 @@ {{if this.isHidden "Continue" "Save and continue"}}{{svg-jar "arrow-right-tail"}} - \ No newline at end of file + diff --git a/ghost/admin/app/components/gh-launch-wizard/set-pricing.js b/ghost/admin/app/components/gh-launch-wizard/set-pricing.js index 108f35ac7e..a7e5ac52f1 100644 --- a/ghost/admin/app/components/gh-launch-wizard/set-pricing.js +++ b/ghost/admin/app/components/gh-launch-wizard/set-pricing.js @@ -46,10 +46,6 @@ export default class GhLaunchWizardSetPricingComponent extends Component { return envConfig.environment !== 'development' && !/^https:/.test(siteUrl); } - get isPaidPriceDisabled() { - return !this.membersUtils.isStripeEnabled; - } - get isFreeDisabled() { return this.settings.get('membersSignupAccess') !== 'all'; } diff --git a/ghost/admin/app/components/gh-member-settings-form.hbs b/ghost/admin/app/components/gh-member-settings-form.hbs index 5e225e17e3..17f2b6742b 100644 --- a/ghost/admin/app/components/gh-member-settings-form.hbs +++ b/ghost/admin/app/components/gh-member-settings-form.hbs @@ -100,7 +100,7 @@ /> {{/if}} - {{#if this.isStripeConnected}} + {{#if this.membersUtils.paidMembersEnabled}}