From 8c1e4ea58f4892fc708740382fd59e45ead7f894 Mon Sep 17 00:00:00 2001 From: TLSM Date: Thu, 30 Jun 2022 20:16:27 -0400 Subject: [PATCH] Hide admin vote totals in template when empty. --- files/templates/votes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/votes.html b/files/templates/votes.html index 1c0b0c2a9..8c1a25a8a 100644 --- a/files/templates/votes.html +++ b/files/templates/votes.html @@ -22,7 +22,7 @@

Upvotes: {{ups | length}}

Downvotes: {{downs | length}}

-{% if v.admin_level %} +{% if v.admin_level and (total_ups and patrons_ups) %}

Total Truescore: {{total_ups}}

Total Paypigs: {{patrons_ups}}

{% endif %}