diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons.hbs index 7db57b2..37fdd2f 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons.hbs @@ -6,11 +6,11 @@ - - - + + + - + {{#each model as |payment|}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index b79063d..f1b9314 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -38,9 +38,10 @@ en: confirm_payment: Confirm payment success: Go back admin: - table: - head: - user: User - payment_intent: Payment ID - receipt_email: Receipt Email - amount: Amount + payment_history: + table: + head: + user: User + payment_intent: Payment ID + receipt_email: Receipt Email + amount: Amount diff --git a/plugin.rb b/plugin.rb index 6f47180..681e598 100644 --- a/plugin.rb +++ b/plugin.rb @@ -2,13 +2,13 @@ # name: discourse-patrons # about: Integrates Stripe into Discourse to allow visitors to make payments -# version: 1.2.0 +# version: 1.2.1 # url: https://github.com/rimian/discourse-patrons # authors: Rimian Perkins enabled_site_setting :discourse_patrons_enabled -gem 'stripe', '5.1.1' +gem 'stripe', '5.2.0' register_asset "stylesheets/common/discourse-patrons.scss" register_asset "stylesheets/mobile/discourse-patrons.scss" @@ -29,7 +29,7 @@ end after_initialize do ::Stripe.api_version = "2019-08-14" - ::Stripe.set_app_info('Discourse Patrons', version: '1.0.0', url: 'https://github.com/rimian/discourse-patrons') + ::Stripe.set_app_info('Discourse Patrons', version: '1.2.1', url: 'https://github.com/rimian/discourse-patrons') [ "../lib/discourse_patrons/engine",
{{i18n 'discourse_patrons.admin.table.head.user'}}{{i18n 'discourse_patrons.admin.table.head.payment_intent'}}{{i18n 'discourse_patrons.admin.table.head.receipt_email'}}{{i18n 'discourse_patrons.admin.payment_history.table.head.user'}}{{i18n 'discourse_patrons.admin.payment_history.table.head.payment_intent'}}{{i18n 'discourse_patrons.admin.payment_history.table.head.receipt_email'}} {{i18n 'created'}}{{i18n 'discourse_patrons.admin.table.head.amount'}}{{i18n 'discourse_patrons.admin.payment_history.table.head.amount'}}