Merge pull request #3 from rimian/fix-disable-billing-interval
disable billing interval when cannot change
This commit is contained in:
commit
77b5567090
|
@ -43,7 +43,11 @@
|
|||
<label for="interval">
|
||||
{{i18n 'discourse_subscriptions.admin.plans.plan.interval'}}
|
||||
</label>
|
||||
{{combo-box valueAttribute="value" content=model.plan.intervals value=model.plan.interval}}
|
||||
{{#if planFieldDisabled}}
|
||||
{{input disabled=true value=model.plan.interval}}
|
||||
{{else}}
|
||||
{{combo-box valueAttribute="value" content=model.plan.intervals value=model.plan.interval}}
|
||||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
<label for="active">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# name: discourse-subscriptions
|
||||
# about: Integrates Stripe into Discourse to allow visitors to subscribe
|
||||
# version: 2.8.0
|
||||
# version: 2.8.1
|
||||
# url: https://github.com/rimian/discourse-subscriptions
|
||||
# authors: Rimian Perkins
|
||||
|
||||
|
@ -44,7 +44,7 @@ after_initialize do
|
|||
|
||||
::Stripe.set_app_info(
|
||||
'Discourse Subscriptions',
|
||||
version: '2.8.0',
|
||||
version: '2.8.1',
|
||||
url: 'https://github.com/rimian/discourse-subscriptions'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue