Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 2075b3b

Browse files
authored
DEV: Update deprecated Font Awesome icon names (#111)
1 parent ff810c6 commit 2075b3b

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.discourse-compatibility

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
< 3.4.0.beta2-dev: ff810c65d88e3a208b1126e94ec9ba637d6e997e
12
< 3.4.0.beta1-dev: 5a44de571484b2652d7ba57b16e3e1519e4d7317
23
< 3.3.0.beta1-dev: d46e783d9f301b7e01d06168dc4219e9c1eb14b4
34
< 3.2.0.beta2-dev: 134fcba29baf2ca92ec555dab1707c096712af14

assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default class extends Component {
4545
{{#if this.siteSettings.enable_emoji}}
4646
{{emoji "pencil"}}
4747
{{else}}
48-
{{icon "sticky-note"}}
48+
{{icon "note-sticky"}}
4949
{{/if}}
5050
</DButton>
5151
{{/if}}

assets/javascripts/discourse-user-notes/templates/connectors/after-reviewable-post-user/show-user-notes-on-flags.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class="emoji"
1313
/>
1414
{{else}}
15-
{{d-icon "sticky-note"}}
15+
{{d-icon "note-sticky"}}
1616
{{/if}}
1717
</DButton>
1818
{{/if}}

assets/javascripts/discourse/initializers/enable-user-notes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default {
130130
if (this.siteSettings.enable_emoji) {
131131
return this.attach("emoji", { name: "pencil" });
132132
} else {
133-
return iconNode("sticky-note");
133+
return iconNode("note-sticky");
134134
}
135135
},
136136
});

plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
register_asset "stylesheets/user_notes.scss"
1313

14-
register_svg_icon "sticky-note"
14+
register_svg_icon "note-sticky"
1515

1616
after_initialize do
1717
require_dependency "user"

0 commit comments

Comments
 (0)