Use built in uswds class

This commit is contained in:
zandercymatics 2024-08-15 11:10:00 -06:00
parent e92b0c5b79
commit fc138b5f44
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 5 additions and 6 deletions

View file

@ -3019,7 +3019,7 @@ class PortfolioAdmin(ListHeaderAdmin):
return format_html(seperator.join(links)) if links else "-"
else:
links = "".join(links)
return format_html(f'<ul class="unstyled-list-elements">{links}</ul>') if links else "-"
return format_html(f'<ul class="add-list-reset">{links}</ul>') if links else "-"
def value_of_attribute(self, obj, attribute_name: str):
"""Returns the value of getattr if the attribute isn't callable.