Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sponsorship: Show correct plan for sponsored without CustomerPlan.
Aman Agrawal20cae359d1b4
diff --git a/corporate/views/billing_page.py b/corporate/views/billing_page.pyindex dff65ebbe0d..d307f23c0a3 100644--- a/corporate/views/billing_page.py+++ b/corporate/views/billing_page.py@@ -64,6 +64,9 @@ def sponsorship_request(request: HttpRequest) -> HttpResponse:if plan is not None:context["plan_name"] = plan.namecontext["free_trial"] = plan.is_free_trial()+ # We don't create CustomerPlan objects for fully sponsored realms via support page.+ elif user.realm.plan_type == Realm.PLAN_TYPE_STANDARD_FREE:+ context["plan_name"] = "Zulip Cloud Standard"else:context["plan_name"] = "Zulip Cloud Free"