mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
portico: Change display name of non-profit org type.
In the left sidebar, remove `registered` word from the non-profit category name.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user