diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.py index 8ced58c60d..fa961ef3e8 100644 --- a/corporate/tests/test_stripe.py +++ b/corporate/tests/test_stripe.py @@ -4162,12 +4162,12 @@ class RequiresBillingAccessTest(StripeTestCase): @mock_stripe() def test_billing_page_permissions(self, *mocks: Mock) -> None: - # Guest users can't access /upgrade page + # Guest users can't access /upgrade/ page self.login_user(self.example_user("polonius")) response = self.client_get("/upgrade/", follow=True) self.assertEqual(response.status_code, 404) - # Check that non-admins can access /upgrade via /billing, when there is no Customer object + # Check that non-admins can access /upgrade/ via /billing, when there is no Customer object self.login_user(self.example_user("hamlet")) response = self.client_get("/billing/") self.assertEqual(response.status_code, 302) diff --git a/corporate/views/portico.py b/corporate/views/portico.py index cca62bf4b6..b787386448 100644 --- a/corporate/views/portico.py +++ b/corporate/views/portico.py @@ -52,7 +52,7 @@ def plans_view(request: HttpRequest) -> HttpResponse: realm = get_realm_from_request(request) free_trial_days = settings.FREE_TRIAL_DAYS sponsorship_pending = False - sponsorship_url = "/upgrade#sponsorship" + sponsorship_url = "/upgrade/#sponsorship" if is_subdomain_root_or_alias(request): # If we're on the root domain, we make this link first ask you which organization. sponsorship_url = f"/accounts/go/?{urlencode({'next': sponsorship_url})}" diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html index 6ef160507c..f268ba9125 100644 --- a/templates/corporate/billing.html +++ b/templates/corporate/billing.html @@ -201,7 +201,7 @@
Join the hundreds of communities we sponsor. Contact sales@zulip.com to check whether your organization - qualifies, or request + qualifies, or request sponsorship today.