From 73db0b208a8e21505d6c91cb2d09fdc52283974a Mon Sep 17 00:00:00 2001 From: Kelv Date: Sat, 7 Dec 2024 03:40:32 +0800 Subject: [PATCH] DEV: Update more deprecated Font Awesome icon names (#253) --- assets/javascripts/discourse/components/campaign-banner.hbs | 2 +- .../javascripts/discourse/components/create-coupon-form.hbs | 2 +- .../discourse/components/modal/admin-cancel-subscription.gjs | 2 +- .../admin/plugins-discourse-subscriptions-coupons.hbs | 2 +- .../admin/plugins-discourse-subscriptions-plans-index.hbs | 4 ++-- .../admin/plugins-discourse-subscriptions-products-index.hbs | 2 +- .../admin/plugins-discourse-subscriptions-products-show.hbs | 2 +- .../admin/plugins-discourse-subscriptions-subscriptions.hbs | 2 +- .../templates/admin/plugins-discourse-subscriptions.hbs | 4 ++-- .../discourse/templates/user/billing/subscriptions/index.hbs | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/assets/javascripts/discourse/components/campaign-banner.hbs b/assets/javascripts/discourse/components/campaign-banner.hbs index ad2a409..d062e01 100644 --- a/assets/javascripts/discourse/components/campaign-banner.hbs +++ b/assets/javascripts/discourse/components/campaign-banner.hbs @@ -3,7 +3,7 @@ class="campaign-banner" style={{html-safe (concat "box-shadow: 5px 5px #" this.dropShadowColor)}} > - +
{{#if this.isGoalMet}} diff --git a/assets/javascripts/discourse/components/create-coupon-form.hbs b/assets/javascripts/discourse/components/create-coupon-form.hbs index 0560f35..0ed548b 100644 --- a/assets/javascripts/discourse/components/create-coupon-form.hbs +++ b/assets/javascripts/discourse/components/create-coupon-form.hbs @@ -44,7 +44,7 @@ @action={{action "cancelCreate"}} label="cancel" @title="cancel" - @icon="times" + @icon="xmark" class="btn btn-icon" />
\ No newline at end of file diff --git a/assets/javascripts/discourse/components/modal/admin-cancel-subscription.gjs b/assets/javascripts/discourse/components/modal/admin-cancel-subscription.gjs index e925dee..df92b1d 100644 --- a/assets/javascripts/discourse/components/modal/admin-cancel-subscription.gjs +++ b/assets/javascripts/discourse/components/modal/admin-cancel-subscription.gjs @@ -31,7 +31,7 @@ export default class AdminCancelSubscription extends Component { closeModal=@closeModal ) }} - @icon="times" + @icon="xmark" @isLoading={{@model.subscription.loading}} class="btn-danger" /> diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-coupons.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-coupons.hbs index 70a840d..09da58d 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-coupons.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-coupons.hbs @@ -32,7 +32,7 @@ diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-plans-index.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-plans-index.hbs index f7d3cd1..c64e253 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-plans-index.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-plans-index.hbs @@ -16,13 +16,13 @@ diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-index.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-index.hbs index 6dd1700..5b2cd16 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-index.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-index.hbs @@ -57,7 +57,7 @@ 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 e7ad701..3cac252 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 @@ -139,7 +139,7 @@ {{/unless}}
- + {{#if this.model.product.isNew}} {{/if}} diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions.hbs index e841744..de37c67 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions.hbs @@ -8,14 +8,14 @@ {{#if this.campaignEnabled}} {{else}} {{#unless this.campaignProductSet}} diff --git a/assets/javascripts/discourse/templates/user/billing/subscriptions/index.hbs b/assets/javascripts/discourse/templates/user/billing/subscriptions/index.hbs index 4117332..594f605 100644 --- a/assets/javascripts/discourse/templates/user/billing/subscriptions/index.hbs +++ b/assets/javascripts/discourse/templates/user/billing/subscriptions/index.hbs @@ -32,12 +32,12 @@ {{else}}