FIX: Rename deprecated icons, allow custom icons in badges

- adds a migration renaming FA4 icon names in badges
- allows all icons to be used in badges (previously was limited to icons prefixed with fa-)
- renames remaining FA 4.7 icons equivalents
This commit is contained in:
Penar Musaraj
2019-07-16 11:13:44 -04:00
committed by GitHub
parent ed5b31f427
commit a571efba35
16 changed files with 33 additions and 22 deletions

View File

@ -67,7 +67,7 @@ export default DropdownSelectBoxComponent.extend({
content.title = I18n.t("composer.composer_actions.edit");
break;
case CREATE_SHARED_DRAFT:
content.icon = "clipboard";
content.icon = "far-clipboard";
content.title = I18n.t("composer.composer_actions.draft");
break;
}
@ -167,7 +167,7 @@ export default DropdownSelectBoxComponent.extend({
items.push({
name: I18n.t("composer.composer_actions.shared_draft.label"),
description: I18n.t("composer.composer_actions.shared_draft.desc"),
icon: "clipboard",
icon: "far-clipboard",
id: "shared_draft"
});
}