diff --git a/files/classes/post.py b/files/classes/post.py index 53e40dced..66b642c96 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -258,9 +258,14 @@ class Post(Base): return 0 num = len([x for x in self.awards if x.kind == kind]) - if num > 4 and kind not in {"shit", "fireflies", "gingerbread", "pumpkin", "stalker"}: - return 4 - return num + + if kind in {"shit", "fireflies", "stalker"}: + return num + + if kind in {"gingerbread", "pumpkin"}: + return min(num, 10) + + return min(num, 4) @lazy def realurl(self, v): diff --git a/files/templates/events/fistmas/awards.html b/files/templates/events/fistmas/awards.html index 8b2e2552d..4964c2f17 100644 --- a/files/templates/events/fistmas/awards.html +++ b/files/templates/events/fistmas/awards.html @@ -1,6 +1,5 @@