DEV: Update more deprecated Font Awesome icon names (#253)

This commit is contained in:
Kelv 2024-12-07 03:40:32 +08:00 committed by GitHub
parent cdd797c68f
commit 73db0b208a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 13 additions and 13 deletions

View File

@ -3,7 +3,7 @@
class="campaign-banner"
style={{html-safe (concat "box-shadow: 5px 5px #" this.dropShadowColor)}}
>
<DButton @icon="times" @action={{this.dismissBanner}} class="close" />
<DButton @icon="xmark" @action={{this.dismissBanner}} class="close" />
<div class="campaign-banner-info" style={{html-safe this.bannerInfoStyle}}>
{{#if this.isGoalMet}}

View File

@ -44,7 +44,7 @@
@action={{action "cancelCreate"}}
label="cancel"
@title="cancel"
@icon="times"
@icon="xmark"
class="btn btn-icon"
/>
</div>

View File

@ -31,7 +31,7 @@ export default class AdminCancelSubscription extends Component {
closeModal=@closeModal
)
}}
@icon="times"
@icon="xmark"
@isLoading={{@model.subscription.loading}}
class="btn-danger"
/>

View File

@ -32,7 +32,7 @@
<DButton
@action={{action "deleteCoupon"}}
@actionParam={{coupon}}
@icon="trash-alt"
@icon="trash-can"
class="btn-danger btn btn-icon btn-no-text"
/>
</td>

View File

@ -16,13 +16,13 @@
<td class="td-right">
<DButton
@action={{action "editPlan" plan.id}}
@icon="far-edit"
@icon="far-pen-to-square"
class="btn no-text btn-icon"
/>
<DButton
@action={{route-action "destroyPlan"}}
@actionParam={{plan}}
@icon="trash-alt"
@icon="trash-can"
class="btn-danger btn no-text btn-icon"
/>
</td>

View File

@ -57,7 +57,7 @@
<DButton
@action={{route-action "destroyProduct"}}
@actionParam={{product}}
@icon="trash-alt"
@icon="trash-can"
class="btn-danger btn no-text btn-icon"
/>
</div>

View File

@ -139,7 +139,7 @@
{{/unless}}
<div class="pull-right">
<DButton @label="cancel" @action={{action "cancelProduct"}} @icon="times" />
<DButton @label="cancel" @action={{action "cancelProduct"}} @icon="xmark" />
{{#if this.model.product.isNew}}
<DButton

View File

@ -76,7 +76,7 @@
@disabled={{subscription.canceled}}
@label="cancel"
@action={{action "showCancelModal" subscription}}
@icon="times"
@icon="xmark"
/>
{{/if}}
</td>

View File

@ -8,14 +8,14 @@
{{#if this.campaignEnabled}}
<DButton
@label="discourse_subscriptions.campaign.refresh_campaign"
@icon="sync-alt"
@icon="rotate"
@action={{action "triggerManualRefresh"}}
/>
{{else}}
{{#unless this.campaignProductSet}}
<DButton
@label="discourse_subscriptions.campaign.one_click_campaign"
@icon="plus-square"
@icon="square-plus"
@action={{action "createOneClickCampaign"}}
@isLoading={{this.loading}}
/>

View File

@ -32,12 +32,12 @@
{{else}}
<DButton
@action={{route-action "updateCard" subscription.id}}
@icon="far-edit"
@icon="far-pen-to-square"
class="btn no-text btn-icon"
/>
<DButton
class="btn-danger btn no-text btn-icon"
@icon="trash-alt"
@icon="trash-can"
@disabled={{subscription.canceled_at}}
@action={{route-action "cancelSubscription" subscription}}
/>