Skip to content

Commit

Permalink
DEV: Update more deprecated Font Awesome icon names
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-talks committed Dec 5, 2024
1 parent d82b340 commit 6af19ad
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@action={{action "cancelCreate"}}
label="cancel"
@title="cancel"
@icon="times"
@icon="xmark"
class="btn btn-icon"
/>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class AdminCancelSubscription extends Component {
closeModal=@closeModal
)
}}
@icon="times"
@icon="xmark"
@isLoading={{@model.subscription.loading}}
class="btn-danger"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
@disabled={{subscription.canceled}}
@label="cancel"
@action={{action "showCancelModal" subscription}}
@icon="times"
@icon="xmark"
/>
{{/if}}
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
/>
Expand Down

0 comments on commit 6af19ad

Please sign in to comment.