mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Use built in uswds class
This commit is contained in:
parent
e92b0c5b79
commit
fc138b5f44
3 changed files with 5 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue