From d3dd49f3c428e115a9cf128c0c2a1ea82d8057e5 Mon Sep 17 00:00:00 2001
From: Mindiell
Date: Sun, 23 Apr 2023 19:02:45 +0200
Subject: [PATCH] fix: Hide actual votes when voting in order not to reveal too
much; visibility can be toggled. Closes #24
---
cfp/templates/cfp/staff/talk_details.html | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/cfp/templates/cfp/staff/talk_details.html b/cfp/templates/cfp/staff/talk_details.html
index 7ab0848..c224119 100644
--- a/cfp/templates/cfp/staff/talk_details.html
+++ b/cfp/templates/cfp/staff/talk_details.html
@@ -95,7 +95,20 @@
+2
-{{ talk.vote_set.count }} {% trans "vote" %}{{ talk.vote_set.count|pluralize }}, {% trans "average:" %} {{ talk.score|floatformat:1 }}
+
+ {{ talk.vote_set.count }} {% trans "vote" %}{{ talk.vote_set.count|pluralize }}, {% trans "average:" %} {{ talk.score|floatformat:1 }}
+
{% trans "Accept" %}
{% trans "Decline" %}
--
2.30.2