UX: update member visibility help text to include flair information (#13995)
This commit is contained in:
parent
6d41c37c16
commit
97f701bc4c
|
@ -97,4 +97,15 @@ export default Component.extend({
|
|||
canAdminGroup(isCreated, canAdmin, canCreate) {
|
||||
return (!isCreated && canCreate) || (isCreated && canAdmin);
|
||||
},
|
||||
|
||||
@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";
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
}}
|
||||
|
||||
<div class="control-instructions">
|
||||
{{i18n "admin.groups.manage.interaction.members_visibility_levels.description"}}
|
||||
{{i18n membersVisibilityLevelsDescription}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -3919,6 +3919,7 @@ en:
|
|||
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."
|
||||
publish_read_state: "On group messages publish group read state"
|
||||
|
||||
membership:
|
||||
|
|
Loading…
Reference in New Issue