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

Commit 563fdb5

Browse files
committed
DEV: Update deprecated Font Awesome icon names
1 parent 6b2d293 commit 563fdb5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
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: 6b2d293bbfb17c0d4c90cfef9409ceb549067243
12
< 3.4.0.beta3-dev: 6472f4593e1a4abbb457288db012ddb10f0b16f5
23
< 3.4.0.beta1-dev: fe725251c1b248c349c38c96432e892c668822c6
34
< 3.3.0.beta2-dev: b796ae3fcc89b48cf777de5ee3a4c21aada9271e

assets/javascripts/discourse/components/assignment.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default class Assignment extends Component {
9898

9999
{{#if this.showAssigneeIeEmptyError}}
100100
<span class="error-label">
101-
{{icon "exclamation-triangle"}}
101+
{{icon "triangle-exclamation"}}
102102
{{i18n "discourse_assign.assign_modal.choose_assignee"}}
103103
</span>
104104
{{/if}}

assets/javascripts/discourse/components/topic-level-assign-menu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function extractPostId(buttonId) {
112112
}
113113

114114
function editAssignmentsButton() {
115-
const icon = iconHTML("pencil-alt");
115+
const icon = iconHTML("pencil");
116116
const label = I18n.t("discourse_assign.topic_level_menu.edit_assignments");
117117
return {
118118
id: "reassign",
@@ -138,7 +138,7 @@ function unassignFromTopicButton(topic) {
138138
topic.assigned_to_user?.username || topic.assigned_to_group?.name;
139139
const icon = topic.assigned_to_user
140140
? avatarHtml(topic.assigned_to_user, "small")
141-
: iconHTML("user-times");
141+
: iconHTML("user-xmark");
142142
const label = I18n.t(
143143
"discourse_assign.topic_level_menu.unassign_from_topic",
144144
{ username }

0 commit comments

Comments
 (0)