mirror of https://github.com/zulip/zulip.git
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:
parent
05df836fe6
commit
cdb1db156f
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue