Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

use_cases: Rename /for/companies to /for/business.

Eeshan Garg5aaeb1a432f7
diff --git a/templates/corporate/jobs.html b/templates/corporate/jobs.html
index 1beb2278abc..5dc9743aa59 100644
--- a/templates/corporate/jobs.html
+++ b/templates/corporate/jobs.html
@@ -128,7 +128,7 @@
Senior Product Designer (full-time or part-time)
</h2>
<p>
- At <a href="/">Zulip</a>, we’re out to build the world’s best collaboration platform, and we’re committed to keeping it 100% open source. Zulip is the only modern team chat app that is ideal for both live and asynchronous conversations. Our product serves as the communication hub for <a href="/for/companies/">businesses</a>, <a href="/case-studies/rust/">open-source projects</a>, <a href="/case-studies/tum/">educators</a> and <a href="/case-studies/lean/">communities</a> around the world.
+ At <a href="/">Zulip</a>, we’re out to build the world’s best collaboration platform, and we’re committed to keeping it 100% open source. Zulip is the only modern team chat app that is ideal for both live and asynchronous conversations. Our product serves as the communication hub for <a href="/for/business/">businesses</a>, <a href="/case-studies/rust/">open-source projects</a>, <a href="/case-studies/tum/">educators</a> and <a href="/case-studies/lean/">communities</a> around the world.
</p>
<p>
We are looking for an experienced product designer with a
diff --git a/templates/zerver/attribution.html b/templates/zerver/attribution.html
index fd2397f5a99..dff92a72850 100644
--- a/templates/zerver/attribution.html
+++ b/templates/zerver/attribution.html
@@ -20,7 +20,7 @@
<h1>Attributions</h1>
<ul>
<li>
- <b>On <a href="/for/companies">/for/companies</a> page:</b>
+ <b>On <a href="/for/business">/for/business</a> page:</b>
<img alt="" src="/static/images/landing-page/companies/software-engineer.svg" />
<p>"<a href="https://iconscout.com/illustration/software-engineer-2043023">Software engineer Illustration</a>" By <a href="https://iconscout.com/contributors/delesign/illustrations">Delesign Graphic</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</p>
</li>
diff --git a/templates/zerver/footer.html b/templates/zerver/footer.html
index c2e1d0bf1f8..029d438fc1c 100644
--- a/templates/zerver/footer.html
+++ b/templates/zerver/footer.html
@@ -15,7 +15,7 @@
<h3>{{ _("Solutions") }}</h3>
<ul>
<li>
- <a href="/for/companies/">{{ _("Companies") }}</a>
+ <a href="/for/business/">{{ _("Business") }}</a>
</li>
<li>
<a href="/for/open-source/">{{ _("Open source projects") }}</a>
diff --git a/templates/zerver/for-companies.html b/templates/zerver/for-business.html
similarity index 100%
rename from templates/zerver/for-companies.html
rename to templates/zerver/for-business.html
diff --git a/templates/zerver/hello.html b/templates/zerver/hello.html
index 914b87c1e2f..1bab74deea0 100644
--- a/templates/zerver/hello.html
+++ b/templates/zerver/hello.html
@@ -533,7 +533,7 @@
<div class="padded-content call-to-action-bottom">
<h1>Learn how Zulip can help your organization!</h1>
<div class="register-buttons">
- <a href="/for/companies" class="register-now button">Companies</a>
+ <a href="/for/business" class="register-now button">Business</a>
<a href="/for/open-source" class="register-now button">Open source</a>
<a href="/for/education" class="register-now button">Education</a>
<a href="/for/events" class="register-now button">Events and Conferences</a>
diff --git a/templates/zerver/help/include/trying-out-zulip.md b/templates/zerver/help/include/trying-out-zulip.md
index 0e24d78993a..5642d88c4f4 100644
--- a/templates/zerver/help/include/trying-out-zulip.md
+++ b/templates/zerver/help/include/trying-out-zulip.md
@@ -1,6 +1,6 @@
You can start by reading about how [Zulip’s](/hello/) unique
topic-based threading [combines the best of email and
-chat](/why-zulip/) to make [remote work](/for/companies/) productive
+chat](/why-zulip/) to make [remote work](/for/business/) productive
and delightful.
We also highly recommend trying Zulip for yourself! You can:
diff --git a/templates/zerver/landing_nav.html b/templates/zerver/landing_nav.html
index 5b5d62e43e0..d9caecf9307 100644
--- a/templates/zerver/landing_nav.html
+++ b/templates/zerver/landing_nav.html
@@ -45,7 +45,7 @@
<div class="dropdown-column">
<li class="nav-header">Use cases</li>
<li>
- <a href="/for/companies/">Companies</a>
+ <a href="/for/business/">Business</a>
</li>
<li>
<a href="/for/open-source/">Open source projects</a>
diff --git a/templates/zerver/why-zulip.html b/templates/zerver/why-zulip.html
index 12b561eb190..bf503025c96 100644
--- a/templates/zerver/why-zulip.html
+++ b/templates/zerver/why-zulip.html
@@ -39,7 +39,7 @@
<h2>Learn how Zulip can help your organization!</h2>
</header>
<div class="register-buttons">
- <a href="/for/companies" class="register-now button">Companies</a>
+ <a href="/for/business" class="register-now button">Business</a>
<a href="/for/open-source" class="register-now button">Open source</a>
<a href="/for/education" class="register-now button">Education</a>
<a href="/for/events" class="register-now button">Events and Conferences</a>
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
index 59ae11d485d..7669448ab69 100644
--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py
@@ -77,7 +77,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
"http://localhost:9981/features",
"http://localhost:9981/why-zulip",
"http://localhost:9981/for/open-source",
- "http://localhost:9981/for/companies",
+ "http://localhost:9981/for/business",
"http://localhost:9981/for/communities",
"http://localhost:9981/for/research",
"http://localhost:9981/security",
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 22a622728d1..b8ac85e837e 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -547,7 +547,7 @@ html_rules: List["Rule"] = [
"exclude": {
"templates/zerver/email.html",
"zerver/tests/fixtures/email",
- "templates/zerver/for-companies.html",
+ "templates/zerver/for-business.html",
"templates/corporate/support_request.html",
"templates/corporate/support_request_thanks.html",
"templates/zerver/emails/support_request.html",
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index 79b396fdd1a..59a5975d36a 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -164,7 +164,7 @@ class DocPageTest(ZulipTestCase):
self._test("/case-studies/rust/", "Rust programming language")
self._test("/case-studies/lean/", "Lean theorem prover")
self._test("/for/research/", "for research")
- self._test("/for/companies/", "Communication efficiency represents")
+ self._test("/for/business/", "Communication efficiency represents")
self._test("/for/communities/", "Zulip for communities")
self._test("/security/", "TLS encryption")
self._test("/attribution/", "Attributions")
@@ -189,6 +189,9 @@ class DocPageTest(ZulipTestCase):
self.assertEqual(result.status_code, 301)
self.assertIn("development-community", result["Location"])
+ result = self.client_get("/for/companies/", follow=True)
+ self.assert_in_success_response(["Communication efficiency represents"], result)
+
def test_portico_pages_open_graph_metadata(self) -> None:
# Why Zulip
url = "/why-zulip/"
diff --git a/zproject/urls.py b/zproject/urls.py
index 650da67f1f1..cf896af04ed 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -620,7 +620,7 @@ i18n_urls = [
path("for/events/", landing_view, {"template_name": "zerver/for-events.html"}),
path("for/open-source/", landing_view, {"template_name": "zerver/for-open-source.html"}),
path("for/research/", landing_view, {"template_name": "zerver/for-research.html"}),
- path("for/companies/", landing_view, {"template_name": "zerver/for-companies.html"}),
+ path("for/business/", landing_view, {"template_name": "zerver/for-business.html"}),
path("case-studies/tum/", landing_view, {"template_name": "zerver/tum-case-study.html"}),
path("case-studies/ucsd/", landing_view, {"template_name": "zerver/ucsd-case-study.html"}),
path("case-studies/rust/", landing_view, {"template_name": "zerver/rust-case-study.html"}),
@@ -642,6 +642,7 @@ i18n_urls = [
path(
"developer-community/", RedirectView.as_view(url="/development-community/", permanent=True)
),
+ path("for/companies/", RedirectView.as_view(url="/for/business/", permanent=True)),
]
# Make a copy of i18n_urls so that they appear without prefix for english