DEV: Update deprecated Font Awesome icon names (#616)
This commit is contained in:
parent
6b2d293bbf
commit
e4b9ed6b93
|
@ -98,7 +98,7 @@ export default class Assignment extends Component {
|
||||||
|
|
||||||
{{#if this.showAssigneeIeEmptyError}}
|
{{#if this.showAssigneeIeEmptyError}}
|
||||||
<span class="error-label">
|
<span class="error-label">
|
||||||
{{icon "exclamation-triangle"}}
|
{{icon "triangle-exclamation"}}
|
||||||
{{i18n "discourse_assign.assign_modal.choose_assignee"}}
|
{{i18n "discourse_assign.assign_modal.choose_assignee"}}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -112,7 +112,7 @@ function extractPostId(buttonId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function editAssignmentsButton() {
|
function editAssignmentsButton() {
|
||||||
const icon = iconHTML("pencil-alt");
|
const icon = iconHTML("pencil");
|
||||||
const label = I18n.t("discourse_assign.topic_level_menu.edit_assignments");
|
const label = I18n.t("discourse_assign.topic_level_menu.edit_assignments");
|
||||||
return {
|
return {
|
||||||
id: "reassign",
|
id: "reassign",
|
||||||
|
@ -138,7 +138,7 @@ function unassignFromTopicButton(topic) {
|
||||||
topic.assigned_to_user?.username || topic.assigned_to_group?.name;
|
topic.assigned_to_user?.username || topic.assigned_to_group?.name;
|
||||||
const icon = topic.assigned_to_user
|
const icon = topic.assigned_to_user
|
||||||
? avatarHtml(topic.assigned_to_user, "small")
|
? avatarHtml(topic.assigned_to_user, "small")
|
||||||
: iconHTML("user-times");
|
: iconHTML("user-xmark");
|
||||||
const label = I18n.t(
|
const label = I18n.t(
|
||||||
"discourse_assign.topic_level_menu.unassign_from_topic",
|
"discourse_assign.topic_level_menu.unassign_from_topic",
|
||||||
{ username }
|
{ username }
|
||||||
|
|
Loading…
Reference in New Issue