FIX: Tooltip for unlisted topics wasn't shown in topic list
The locale key had to be renamed, because this key is also used as CSS class. The "invisible" CSS class makes the icon invisible. "unlisted" doesn't have that effect.
This commit is contained in:
parent
1c1fd2051f
commit
70cdb42173
|
@ -65,7 +65,7 @@ export default Ember.Component.extend(
|
|||
"unpinned",
|
||||
this.get("canAct")
|
||||
);
|
||||
renderIconIf("topic.invisible", "eye-slash", "invisible");
|
||||
renderIconIf("topic.invisible", "far-eye-slash", "unlisted");
|
||||
}
|
||||
})
|
||||
);
|
||||
|
|
|
@ -53,7 +53,7 @@ export default Ember.Object.extend({
|
|||
}
|
||||
|
||||
if (topic.get("invisible")) {
|
||||
results.push({ icon: "eye-slash" });
|
||||
results.push({ icon: "far-eye-slash", key: "unlisted" });
|
||||
}
|
||||
|
||||
results.forEach(result => {
|
||||
|
|
|
@ -39,7 +39,7 @@ export default createWidget("topic-status", {
|
|||
|
||||
renderIconIf("pinned", "thumbtack", "pinned");
|
||||
renderIconIf("unpinned", "thumbtack", "unpinned");
|
||||
renderIconIf("invisible", "eye-slash", "invisible");
|
||||
renderIconIf("invisible", "far-eye-slash", "unlisted");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -2512,7 +2512,7 @@ en:
|
|||
pinned:
|
||||
title: "Pinned"
|
||||
help: "This topic is pinned for you; it will display at the top of its category"
|
||||
invisible:
|
||||
unlisted:
|
||||
help: "This topic is unlisted; it will not be displayed in topic lists, and can only be accessed via a direct link"
|
||||
|
||||
posts: "Posts"
|
||||
|
|
Loading…
Reference in New Issue