mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Fix a pretty-print on companies
This commit is contained in:
@@ -76,6 +76,9 @@ class Company(models.Model):
|
||||
}
|
||||
)
|
||||
|
||||
def extended_name_pp(self):
|
||||
return "({})".format(self.extended_name) if self.extended_name else ""
|
||||
|
||||
def logo_thumbnail(self):
|
||||
return get_image_preview(self.logo.url)
|
||||
|
||||
|
Reference in New Issue
Block a user