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.

portico: Change display name of non-profit org type.

Aman Agrawalcdb1db156fc0
diff --git a/corporate/views/portico.py b/corporate/views/portico.py
index 9f5595e43f2..1f69b05ac56 100644
--- a/corporate/views/portico.py
+++ b/corporate/views/portico.py
@@ -141,6 +141,10 @@ def communities_view(request: HttpRequest) -> HttpResponse:
# Remove `Unspecified` ORG_TYPE
org_types.pop("unspecified", None)
+ # Change display name of non-profit orgs.
+ if org_types.get("nonprofit"):
+ org_types["nonprofit"]["name"] = "Non-profit"
+
return TemplateResponse(
request,
"corporate/communities.html",