shorter var
parent
ab91a9cbb6
commit
a1fc1a9972
|
@ -61,7 +61,7 @@ class Hole(Base):
|
|||
|
||||
@property
|
||||
@lazy
|
||||
def stealth_hole_unblock_number(self):
|
||||
def stealth_hole_unblock_num(self):
|
||||
return self.stealth_hole_unblocks.count()
|
||||
|
||||
@property
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<td><a href="/h/{{hole}}">{{count}}</a></td>
|
||||
<td><a href="/h/{{hole}}/followers">{{hole.follow_num}}</a></td>
|
||||
{% if hole.stealth %}
|
||||
<td>{{total_users - hole.stealth_hole_unblock_number}}</td>
|
||||
<td>{{total_users - hole.stealth_hole_unblock_num}}</td>
|
||||
{% else %}
|
||||
<td><a href="/h/{{hole}}/blockers">{{hole.block_num}}</a></td>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue