mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +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
|
# Remove `Unspecified` ORG_TYPE
|
||||||
org_types.pop("unspecified", None)
|
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(
|
return TemplateResponse(
|
||||||
request,
|
request,
|
||||||
"corporate/communities.html",
|
"corporate/communities.html",
|
||||||
|
|||||||
Reference in New Issue
Block a user