From cdb1db156fc0433e69e74edcecc1a14109299b18 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Tue, 13 Sep 2022 11:18:13 +0000 Subject: [PATCH] portico: Change display name of non-profit org type. In the left sidebar, remove `registered` word from the non-profit category name. --- corporate/views/portico.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/corporate/views/portico.py b/corporate/views/portico.py index 9f5595e43f..1f69b05ac5 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",