mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
clean up tamplate and fix unit tests
This commit is contained in:
parent
e82326346c
commit
d07872bfa1
3 changed files with 12 additions and 6 deletions
|
@ -2975,7 +2975,7 @@ class PortfolioAdmin(ListHeaderAdmin):
|
|||
Will be used in the after_help_text block."""
|
||||
members = [user for user in obj.user.all() if "Admin" not in user.portfolio_role_summary]
|
||||
if not members:
|
||||
return format_html("<p>No members found.</p>")
|
||||
return ''
|
||||
|
||||
member_details = (
|
||||
"<table><thead><tr><th>Name</th><th>Title</th><th>Email</th>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue