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:
Aman Agrawal 2022-09-13 11:18:13 +00:00 committed by Tim Abbott
parent 05df836fe6
commit cdb1db156f
1 changed files with 4 additions and 0 deletions

View File

@ -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",