UX: show flair help text for private member visibility only (#14005)
This commit is contained in:
parent
e157925308
commit
e9b2415e7d
|
@ -99,13 +99,9 @@ export default Component.extend({
|
|||
},
|
||||
|
||||
@discourseComputed("membersVisibilityLevel")
|
||||
membersVisibilityLevelsDescription(membersVisibilityLevel) {
|
||||
if (
|
||||
membersVisibilityLevel === this.visibilityLevelOptions.firstObject.value
|
||||
) {
|
||||
return "admin.groups.manage.interaction.members_visibility_levels.description";
|
||||
} else {
|
||||
return "admin.groups.manage.interaction.members_visibility_levels.description_flair_visible";
|
||||
}
|
||||
membersVisibilityPrivate(membersVisibilityLevel) {
|
||||
return (
|
||||
membersVisibilityLevel !== this.visibilityLevelOptions.firstObject.value
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -29,9 +29,11 @@
|
|||
onChange=(action (mut model.members_visibility_level))
|
||||
}}
|
||||
|
||||
<div class="control-instructions">
|
||||
{{i18n membersVisibilityLevelsDescription}}
|
||||
</div>
|
||||
{{#if membersVisibilityPrivate}}
|
||||
<div class="control-instructions">
|
||||
{{i18n "admin.groups.manage.interaction.members_visibility_levels.description"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -3928,8 +3928,7 @@ en:
|
|||
description: "Admins can see all groups."
|
||||
members_visibility_levels:
|
||||
title: "Who can see this group's members?"
|
||||
description: "Admins can see members of all groups."
|
||||
description_flair_visible: "Admins can see members of all groups. Flair is visible to all users."
|
||||
description: "Admins can see members of all groups. Flair is visible to all users."
|
||||
publish_read_state: "On group messages publish group read state"
|
||||
|
||||
membership:
|
||||
|
|
Loading…
Reference in New Issue