mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
web: Save a 301 redirect from /terms/ to /policies/terms.
This commit is contained in:
committed by
Tim Abbott
parent
ce847fd09c
commit
822683249d
@@ -108,7 +108,7 @@
|
|||||||
{% if not corporate_enabled %}
|
{% if not corporate_enabled %}
|
||||||
<a href="/help">{{ _("Help center") }}</a>
|
<a href="/help">{{ _("Help center") }}</a>
|
||||||
{% endif %}
|
{% 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>
|
<a href="{{ root_domain_uri }}/privacy/">{{ _("Privacy policy") }}</a>
|
||||||
{% if corporate_enabled %}
|
{% if corporate_enabled %}
|
||||||
<a href="https://zulip.com/attribution/">{{ _("Website attributions") }}</a>
|
<a href="https://zulip.com/attribution/">{{ _("Website attributions") }}</a>
|
||||||
|
@@ -24,7 +24,7 @@ class Command(ZulipBaseCommand):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--agree_to_terms_of_service",
|
"--agree_to_terms_of_service",
|
||||||
action="store_true",
|
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(
|
parser.add_argument(
|
||||||
"--rotate-key",
|
"--rotate-key",
|
||||||
@@ -69,7 +69,7 @@ class Command(ZulipBaseCommand):
|
|||||||
if not options["agree_to_terms_of_service"] and not options["rotate_key"]:
|
if not options["agree_to_terms_of_service"] and not options["rotate_key"]:
|
||||||
print(
|
print(
|
||||||
"To register, you must agree to the Zulipchat Terms of Service: "
|
"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] ")
|
tos_prompt = input("Do you agree to the Terms of Service? [Y/n] ")
|
||||||
print("")
|
print("")
|
||||||
|
Reference in New Issue
Block a user