diff --git a/drama/classes/submission.py b/drama/classes/submission.py index b2b732fc59..3adad864f5 100644 --- a/drama/classes/submission.py +++ b/drama/classes/submission.py @@ -205,8 +205,8 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): @property #@lazy def thumb_url(self): - if self.over_18: return f"/assets/images/nsfw.png" + elif not p.url: return f"/assets/images/default_thumb_text.png" elif self.thumburl: return self.thumburl elif "youtu.be" in self.domain or "youtube.com" in self.domain: return '/assets/images/default_thumb_yt.png' else: return '/assets/images/default_thumb_link.png' diff --git a/drama/templates/submission_listing.html b/drama/templates/submission_listing.html index 9a3f049b3f..0ee795ec4a 100644 --- a/drama/templates/submission_listing.html +++ b/drama/templates/submission_listing.html @@ -63,21 +63,15 @@