mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
server-side support for hidden option in group admin, #2758
This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
"new_group": "Create New Group",
|
"new_group": "Create New Group",
|
||||||
"no_groups_found": "There are no groups to see",
|
"no_groups_found": "There are no groups to see",
|
||||||
|
|
||||||
|
"pending.accept": "Accept",
|
||||||
|
"pending.reject": "Reject",
|
||||||
|
|
||||||
"cover-instructions": "Drag and Drop a photo, drag to position, and hit <strong>Save</strong>",
|
"cover-instructions": "Drag and Drop a photo, drag to position, and hit <strong>Save</strong>",
|
||||||
"cover-change": "Change",
|
"cover-change": "Change",
|
||||||
"cover-save": "Save",
|
"cover-save": "Save",
|
||||||
@@ -15,12 +18,20 @@
|
|||||||
"details.pending": "Pending Members",
|
"details.pending": "Pending Members",
|
||||||
"details.has_no_posts": "This group's members have not made any posts.",
|
"details.has_no_posts": "This group's members have not made any posts.",
|
||||||
"details.latest_posts": "Latest Posts",
|
"details.latest_posts": "Latest Posts",
|
||||||
"details.private": "Private Group",
|
"details.private": "Private",
|
||||||
"details.public": "Public Group",
|
|
||||||
"details.grant": "Grant/Rescind Ownership",
|
"details.grant": "Grant/Rescind Ownership",
|
||||||
"details.kick": "Kick",
|
"details.kick": "Kick",
|
||||||
|
|
||||||
"details.owner_options": "Group Administration",
|
"details.owner_options": "Group Administration",
|
||||||
|
"details.group_name": "Group Name",
|
||||||
|
"details.description": "Description",
|
||||||
|
"details.badge_preview": "Badge Preview",
|
||||||
|
"details.change_icon": "Change Icon",
|
||||||
|
"details.change_colour": "Change Colour",
|
||||||
|
"details.badge_text": "Badge Text",
|
||||||
|
"details.private_help": "If enabled, joining of groups requires approval from a group owner",
|
||||||
|
"details.hidden": "Hidden",
|
||||||
|
"details.hidden_help": "If enabled, this group will not be found in the groups listing, and users will have to be invited manually",
|
||||||
|
|
||||||
"event.updated": "Group details have been updated",
|
"event.updated": "Group details have been updated",
|
||||||
"event.deleted": "The group \"%1\" has been deleted"
|
"event.deleted": "The group \"%1\" has been deleted"
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ var async = require('async'),
|
|||||||
description: values.description || '',
|
description: values.description || '',
|
||||||
icon: values.icon || '',
|
icon: values.icon || '',
|
||||||
labelColor: values.labelColor || '#000000',
|
labelColor: values.labelColor || '#000000',
|
||||||
hidden: values.hidden || '0',
|
hidden: values.hidden === true ? '1' : '0',
|
||||||
'private': values.private === false ? '0' : '1'
|
'private': values.private === false ? '0' : '1'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user