Skip to content

Commit

Permalink
DEV: Update deprecated Font Awesome icon names (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-talks authored Dec 4, 2024
1 parent 101305c commit 433a07a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
< 3.4.0.beta2-dev: 101305c687cb8f3dc3aadc0e56fe5368393b0f9d
< 3.4.0.beta1-dev: c4cde3bb12841733d1f2ac4df1bb099aae15cece
< 3.3.0.beta1-dev: 354695cf5fce2bf516c9be451fe4bb56e487b95a
< 3.2.0.beta2-dev: 14e269fb4161dc125aed516d1028c4e8f7960796
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if this.siteSettings.discourse_reactions_enabled}}
<LinkTo @route="userActivity.reactions">
{{d-icon "far-smile"}}
{{d-icon "far-face-smile"}}
<span>{{i18n "discourse_reactions.reactions_title"}}</span>
</LinkTo>
{{/if}}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if this.siteSettings.discourse_reactions_enabled}}
<LinkTo @route="userNotifications.reactionsReceived">
{{d-icon "far-smile"}}
{{d-icon "far-face-smile"}}
<span>{{i18n "discourse_reactions.reactions_title"}}</span>
</LinkTo>
{{/if}}
4 changes: 2 additions & 2 deletions plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
register_asset "stylesheets/desktop/discourse-reactions.scss", :desktop
register_asset "stylesheets/mobile/discourse-reactions.scss", :mobile

register_svg_icon "fas fa-star"
register_svg_icon "far fa-star"
register_svg_icon "star"
register_svg_icon "far-star"

require_relative "lib/reaction_for_like_site_setting_enum.rb"
require_relative "lib/reactions_excluded_from_like_site_setting_validator.rb"
Expand Down

0 comments on commit 433a07a

Please sign in to comment.