diff --git a/files/classes/sub.py b/files/classes/sub.py index 45c085c971..a35c53afae 100644 --- a/files/classes/sub.py +++ b/files/classes/sub.py @@ -47,4 +47,9 @@ class Sub(Base): @property @lazy def block_num(self): - return len(self.blocks) \ No newline at end of file + return len(self.blocks) + + @property + @lazy + def follow_num(self): + return len(self.followers) \ No newline at end of file diff --git a/files/templates/sub/subs.html b/files/templates/sub/subs.html index ea14b26bb6..260b196d36 100644 --- a/files/templates/sub/subs.html +++ b/files/templates/sub/subs.html @@ -15,8 +15,8 @@ # Name Posts - Blockers - + Followers + Blockers {% for sub, count in subs %} @@ -24,6 +24,7 @@ {{loop.index}} {{sub.name}} {{count}} + {{sub.follow_num}} {{sub.block_num}} {% endfor %}