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.

web: Save a 301 redirect from /terms/ to /policies/terms.

Alex Vandiver822683249d89
diff --git a/templates/zerver/footer.html b/templates/zerver/footer.html
index 4dcc9867c01..ef9682d5582 100644
--- a/templates/zerver/footer.html
+++ b/templates/zerver/footer.html
@@ -108,7 +108,7 @@
{% if not corporate_enabled %}
<a href="/help">{{ _("Help center") }}</a>
{% endif %}
- <a href="{{ root_domain_uri }}/terms/">{{ _("Terms of Service") }}</a>
+ <a href="{{ root_domain_uri }}/policies/terms">{{ _("Terms of Service") }}</a>
<a href="{{ root_domain_uri }}/privacy/">{{ _("Privacy policy") }}</a>
{% if corporate_enabled %}
<a href="https://zulip.com/attribution/">{{ _("Website attributions") }}</a>
diff --git a/zerver/management/commands/register_server.py b/zerver/management/commands/register_server.py
index fee97563baa..cf03f2c5861 100644
--- a/zerver/management/commands/register_server.py
+++ b/zerver/management/commands/register_server.py
@@ -24,7 +24,7 @@ class Command(ZulipBaseCommand):
parser.add_argument(
"--agree_to_terms_of_service",
action="store_true",
- help="Agree to the Zulipchat Terms of Service: https://zulip.com/terms/.",
+ help="Agree to the Zulipchat Terms of Service: https://zulip.com/policies/terms.",
)
parser.add_argument(
"--rotate-key",
@@ -69,7 +69,7 @@ class Command(ZulipBaseCommand):
if not options["agree_to_terms_of_service"] and not options["rotate_key"]:
print(
"To register, you must agree to the Zulipchat Terms of Service: "
- "https://zulip.com/terms/"
+ "https://zulip.com/policies/terms"
)
tos_prompt = input("Do you agree to the Terms of Service? [Y/n] ")
print("")