mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
Add comments
This commit is contained in:
parent
40c52c4691
commit
ffb7e146c7
4 changed files with 10 additions and 2 deletions
|
@ -2876,6 +2876,7 @@ class PortfolioAdmin(ListHeaderAdmin):
|
|||
]
|
||||
|
||||
def portfolio_type(self, obj: models.Portfolio):
|
||||
"""Returns the portfolio type, or "-" if the result is empty"""
|
||||
return obj.portfolio_type if obj.portfolio_type else "-"
|
||||
|
||||
portfolio_type.short_description = "Portfolio type"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue