Skip to content

Commit 3ab6698

Browse files
authored
DEV: Update more deprecated Font Awesome icon names (#112)
* DEV: Update more deprecated Font Awesome icon names * update to pencil
1 parent 2075b3b commit 3ab6698

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

assets/javascripts/discourse/components/modal/user-notes.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<span class="controls">
2828
<DButton
2929
@action={{fn this.removeNote n}}
30-
@icon="far-trash-alt"
30+
@icon="far-trash-can"
3131
@title="user_notes.remove"
3232
class="btn-small btn-danger"
3333
/>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<DButton
22
class="btn-default show-user-notes-btn"
33
@action={{@show}}
4-
@icon="pencil-alt"
4+
@icon="pencil"
55
@translatedLabel={{this.label}}
66
/>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default {
9595
});
9696
api.addPostAdminMenuButton((attrs) => {
9797
return {
98-
icon: "pencil-alt",
98+
icon: "pencil",
9999
label: "user_notes.attach",
100100
action: (post) => {
101101
showUserNotes(

0 commit comments

Comments
 (0)