Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
frontend: Update when communities directory checkbox is disabled.
Lauryn Menardbb45c04136ff
diff --git a/static/js/admin.js b/static/js/admin.jsindex a19e5d0ceb9..296983878fd 100644--- a/static/js/admin.js+++ b/static/js/admin.js@@ -171,7 +171,7 @@ export function build_page() {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,+ !page_params.realm_push_notifications_enabled,};if (options.realm_logo_source !== "D" && options.realm_night_logo_source === "D") {diff --git a/templates/zerver/help/communities-directory.md b/templates/zerver/help/communities-directory.mdindex 186937435fa..4498c6182d6 100644--- a/templates/zerver/help/communities-directory.md+++ b/templates/zerver/help/communities-directory.md@@ -2,24 +2,38 @@{!communities-directory-intro.md!}+## Eligibility+In order to be eligible for listing in the communities directory, an-organization must be open to the public. Your organization is eligible if users are-allowed [join without an invitation][join-without-invite] and/or the [public-access option](/help/public-access-option) is enabled.+organization must be open to the public. Your organization is eligible+if users are allowed to [join without an invitation][join-without-invite]+and/or the [public access option](/help/public-access-option) is enabled.The directory will be organized by [organization type](/help/organization-type),-so it is highly recommended that you make sure the appropriate category is-selected.+so it is highly recommended that you make sure the appropriate category+is selected.++To prevent spam, Zulip reserves the right to use editorial discretion.+Giving Zulip permission to promote your organization in the communities+directory does not guarantee that it will be listed.++### Self-hosted Zulip communities-To prevent spam, Zulip reserves the right to use editorial discretion. Giving-Zulip permission to promote your organization in the communities directory does-not guarantee that it will be listed.+Zulip plans to develop support for self-hosted Zulip communities that+have registered their servers with the [Zulip mobile push+notification service][push-notifications] to sign-up for the Zulip+communities directory.-If you administer a self-hosted Zulip community that you would like to be-listed, please contact [Zulip support](mailto:[email protected]).+Until that feature is developed, if you administer a self-hosted Zulip+community and would like to be listed in the directory, please contact+[Zulip support](mailto:[email protected]). Changing the setting in your+Zulip organization will not send any information to the Zulip project+at this time, even if you use the Zulip mobile push notifications+service.[join-without-invite]: /help/restrict-account-creation#set-whether-invitations-are-required-to-join[communities-directory-permission]: /help/communities-directory#give-permission-to-be-in-the-zulip-communities-directory+[push-notifications]: https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html## Change whether your organization may be listed in the Zulip communities directory