From ee961c9cd801c876e950bdca5bb4d7c90deb4b5f Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Tue, 16 Apr 2024 12:52:48 -0400 Subject: [PATCH] changed icon to text for column --- src/registrar/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 17486e983..b61b21f87 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -682,9 +682,8 @@ class ContactAdmin(ListHeaderAdmin): def user_exists(self, obj): """Check if the Contact has a related User""" - return obj.user is not None + return "Yes" if obj.user is not None else "No" - user_exists.boolean = True # type: ignore user_exists.short_description = "Is user" # type: ignore user_exists.admin_order_field = "user" # type: ignore