mirror of https://github.com/zulip/zulip.git
web: Save two 301 redirects from /terms to /terms/ to /policies/terms.
This commit is contained in:
parent
d9daeb13e0
commit
ce847fd09c
|
@ -49,7 +49,7 @@ the registration flow has its own (nearly identical) copy of the fields below in
|
|||
<input id="id_terms" class="required" type="checkbox" name="terms"
|
||||
{% if form.terms.value() %}checked="checked"{% endif %} />
|
||||
<span></span>
|
||||
{% trans %}I agree to the <a href="{{ root_domain_uri }}/terms" target="_blank" rel="noopener noreferrer">Terms of Service</a>.{% endtrans %}
|
||||
{% trans %}I agree to the <a href="{{ root_domain_uri }}/policies/terms" target="_blank" rel="noopener noreferrer">Terms of Service</a>.{% endtrans %}
|
||||
</label>
|
||||
{% if form.terms.errors %}
|
||||
{% for error in form.terms.errors %}
|
||||
|
|
|
@ -266,7 +266,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
|
|||
<input id="id_terms" class="required" type="checkbox" name="terms"
|
||||
{% if form.terms.value() %}checked="checked"{% endif %} />
|
||||
<span></span>
|
||||
{% trans %}I agree to the <a href="{{ root_domain_uri }}/terms" target="_blank" rel="noopener noreferrer">Terms of Service</a>.{% endtrans %}
|
||||
{% trans %}I agree to the <a href="{{ root_domain_uri }}/policies/terms" target="_blank" rel="noopener noreferrer">Terms of Service</a>.{% endtrans %}
|
||||
</label>
|
||||
{% if form.terms.errors %}
|
||||
{% for error in form.terms.errors %}
|
||||
|
|
|
@ -70,7 +70,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
|
|||
"http://localhost:9981/team/",
|
||||
"http://localhost:9981/apps/",
|
||||
"http://localhost:9981/integrations/",
|
||||
"http://localhost:9981/terms",
|
||||
"http://localhost:9981/policies/terms",
|
||||
"http://localhost:9981/privacy",
|
||||
"http://localhost:9981/features",
|
||||
"http://localhost:9981/why-zulip",
|
||||
|
|
|
@ -636,7 +636,7 @@ class PrivacyTermsTest(ZulipTestCase):
|
|||
self.assert_in_success_response(["Kandra Labs"], result)
|
||||
|
||||
def test_no_nav(self) -> None:
|
||||
# Test that our ?nav=0 feature of /privacy and /terms,
|
||||
# Test that our ?nav=0 feature of /privacy and /policies/terms,
|
||||
# designed to comply with the Apple App Store draconian
|
||||
# policies that ToS/Privacy pages linked from an iOS app have
|
||||
# no links to the rest of the site if there's pricing
|
||||
|
|
Loading…
Reference in New Issue