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:
Gerhard Schlager 2019-01-15 16:13:06 +01:00
parent 1c1fd2051f
commit 70cdb42173
4 changed files with 4 additions and 4 deletions

View File

@ -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");
}
})
);

View File

@ -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 => {

View File

@ -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;
}

View File

@ -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"