mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
changed icon to text for column
This commit is contained in:
parent
72a816acda
commit
ee961c9cd8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue