Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Commit placeholder image

Roland Geider33064146fe3e
diff --git a/wger/trophies/models/trophy.py b/wger/trophies/models/trophy.py
index 8882b8850..693b01cd9 100644
--- a/wger/trophies/models/trophy.py
+++ b/wger/trophies/models/trophy.py
@@ -156,4 +156,5 @@ class Trophy(models.Model):
"""
Returns the relative path to the trophy image
"""
- return f'trophies/{self.trophy_type}/{self.uuid}.png'
+ return 'trophies/placeholder.png'
+ # return f'trophies/{self.trophy_type}/{self.uuid}.png'
diff --git a/wger/trophies/static/trophies/placeholder.png b/wger/trophies/static/trophies/placeholder.png
new file mode 100644
index 000000000..c7ff8a4cb
Binary files /dev/null and b/wger/trophies/static/trophies/placeholder.png differ