mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
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:
@ -246,7 +246,7 @@ export default {
|
||||
browser: "Google Chrome",
|
||||
device: "Linux Computer",
|
||||
os: "Linux",
|
||||
icon: "linux",
|
||||
icon: "fab-linux",
|
||||
created_at: "2018-09-08T21:22:56.225Z",
|
||||
seen_at: "2018-09-08T21:22:56.512Z",
|
||||
is_active: false
|
||||
@ -258,7 +258,7 @@ export default {
|
||||
browser: "Google Chrome",
|
||||
device: "Linux Computer",
|
||||
os: "Linux",
|
||||
icon: "linux",
|
||||
icon: "fab-linux",
|
||||
created_at: "2018-09-08T21:33:41.616Z",
|
||||
seen_at: "2018-09-08T21:33:42.209Z",
|
||||
is_active: true
|
||||
@ -270,7 +270,7 @@ export default {
|
||||
browser: "Internet Explorer",
|
||||
device: "Windows Computer",
|
||||
os: "Windows",
|
||||
icon: "windows",
|
||||
icon: "fab-windows",
|
||||
created_at: "2018-09-07T21:44:41.616Z",
|
||||
seen_at: "2018-09-08T21:44:42.209Z",
|
||||
is_active: false
|
||||
|
@ -21,7 +21,7 @@ widgetTest("extendability", {
|
||||
beforeEach(store) {
|
||||
TopicStatusIcons.addObject([
|
||||
"has_accepted_answer",
|
||||
"check-square-o",
|
||||
"far-check-square",
|
||||
"solved"
|
||||
]);
|
||||
this.set("args", {
|
||||
@ -32,6 +32,6 @@ widgetTest("extendability", {
|
||||
});
|
||||
},
|
||||
test(assert) {
|
||||
assert.ok(find(".topic-status .d-icon-check-square-o").length);
|
||||
assert.ok(find(".topic-status .d-icon-far-check-square").length);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user