forked from rDrama/rDrama
Hide admin vote totals in template when empty.
parent
8c246e5678
commit
8c1e4ea58f
|
@ -22,7 +22,7 @@
|
||||||
<p><b>Upvotes: </b>{{ups | length}}</p>
|
<p><b>Upvotes: </b>{{ups | length}}</p>
|
||||||
<p><b>Downvotes: </b>{{downs | length}}</p>
|
<p><b>Downvotes: </b>{{downs | length}}</p>
|
||||||
|
|
||||||
{% if v.admin_level %}
|
{% if v.admin_level and (total_ups and patrons_ups) %}
|
||||||
<p><b>Total Truescore: </b>{{total_ups}}</p>
|
<p><b>Total Truescore: </b>{{total_ups}}</p>
|
||||||
<p><b>Total Paypigs: </b>{{patrons_ups}}</p>
|
<p><b>Total Paypigs: </b>{{patrons_ups}}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue