Hide admin vote totals in template when empty.

master
Snakes 2022-06-30 20:16:27 -04:00
parent 8c246e5678
commit 8c1e4ea58f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<p><b>Upvotes: </b>{{ups | 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 Paypigs: </b>{{patrons_ups}}</p>
{% endif %}