This commit is contained in:
Rachid Mrad 2024-08-23 23:13:14 -04:00
parent d07872bfa1
commit 4e0416e514
No known key found for this signature in database

View file

@ -2975,7 +2975,7 @@ class PortfolioAdmin(ListHeaderAdmin):
Will be used in the after_help_text block.""" 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] members = [user for user in obj.user.all() if "Admin" not in user.portfolio_role_summary]
if not members: if not members:
return '' return ""
member_details = ( member_details = (
"<table><thead><tr><th>Name</th><th>Title</th><th>Email</th>" "<table><thead><tr><th>Name</th><th>Title</th><th>Email</th>"