diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs index 2cdb72d..361e7c4 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show-plans-show.hbs @@ -145,14 +145,14 @@ {{#if model.plan.isNew}} {{d-button label="discourse_subscriptions.admin.plans.operations.create" - action="createPlan" + action=(action "createPlan") icon="plus" class="btn btn-primary" }} {{else}} {{d-button label="discourse_subscriptions.admin.plans.operations.update" - action="updatePlan" + action=(action "updatePlan") icon="check" class="btn btn-primary" }} diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs index 3c0a1ec..5e5888d 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs @@ -142,14 +142,14 @@ {{#if model.product.isNew}} {{d-button label="discourse_subscriptions.admin.products.operations.create" - action="createProduct" + action=(action "createProduct") icon="plus" class="btn btn-primary" }} {{else}} {{d-button label="discourse_subscriptions.admin.products.operations.update" - action="updateProduct" + action=(action "updateProduct") icon="check" class="btn btn-primary" }} diff --git a/assets/javascripts/discourse/templates/components/campaign-banner.hbs b/assets/javascripts/discourse/templates/components/campaign-banner.hbs index e17485b..e43b97f 100644 --- a/assets/javascripts/discourse/templates/components/campaign-banner.hbs +++ b/assets/javascripts/discourse/templates/components/campaign-banner.hbs @@ -3,7 +3,7 @@ class="campaign-banner" style={{html-safe (concat "box-shadow: 5px 5px #" dropShadowColor)}} > - {{d-button icon="times" action="dismissBanner" class="close"}} + {{d-button icon="times" action=(action "dismissBanner") class="close"}}