diff --git a/events/models/profiles.py b/events/models/profiles.py index b7e5e76..c8dd59e 100644 --- a/events/models/profiles.py +++ b/events/models/profiles.py @@ -320,6 +320,8 @@ class Team(models.Model): def card_img_url(self): if self.tile_img is not None and self.tile_img.name is not None: return self.tile_img.url + elif self.organization and self.organization.tile_img and self.organization.tile_img.url is not None: + return self.organization.tile_img.url elif self.category is not None: return self.category.img_url else: diff --git a/get_together/templates/get_together/new_team/start_new_team.html b/get_together/templates/get_together/new_team/start_new_team.html index 6a0313d..87da5cb 100644 --- a/get_together/templates/get_together/new_team/start_new_team.html +++ b/get_together/templates/get_together/new_team/start_new_team.html @@ -8,8 +8,9 @@