mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
settings: Add realm setting for Zulip communities directory.
Adds `want_advertise_in_communities_directory` to the realm model to track organizations that give permission to be listed on such a site / directory on zulip.com. Adds a checkbox to the organization profile admin for organizations to give permission to be advertised in the Zulip communities directory. Adds a help center article about the Zulip communities directory and uses a shared intro documentation file to create sections in the articles on creating an organization profile and moderating open organizations. Co-authored-by: Alya Abbott <alya@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
1ac8673989
commit
44c9b788f9
@@ -17,6 +17,10 @@ import * as settings_sections from "./settings_sections";
|
||||
import * as settings_toggle from "./settings_toggle";
|
||||
|
||||
const admin_settings_label = {
|
||||
// Organization profile
|
||||
realm_want_advertise_in_communities_directory: $t({
|
||||
defaultMessage: "Advertise organization in the Zulip communities directory",
|
||||
}),
|
||||
// Organization settings
|
||||
realm_allow_edit_history: $t({defaultMessage: "Enable message edit history"}),
|
||||
realm_mandatory_topics: $t({defaultMessage: "Require topics in stream messages"}),
|
||||
@@ -164,6 +168,10 @@ export function build_page() {
|
||||
can_sort_by_email: settings_data.show_email(),
|
||||
realm_push_notifications_enabled: page_params.realm_push_notifications_enabled,
|
||||
realm_org_type_values: settings_org.get_org_type_dropdown_options(),
|
||||
realm_want_advertise_in_communities_directory:
|
||||
page_params.realm_want_advertise_in_communities_directory,
|
||||
disable_want_advertise_in_communities_directory:
|
||||
!page_params.server_web_public_streams_enabled,
|
||||
};
|
||||
|
||||
if (options.realm_logo_source !== "D" && options.realm_night_logo_source === "D") {
|
||||
|
||||
Reference in New Issue
Block a user