From c4833dd159ef0c7cf550f3ada19952045e504eb1 Mon Sep 17 00:00:00 2001
From: Ben Adida <ben@adida.net>
Date: Sat, 2 Oct 2010 15:35:27 -0700
Subject: [PATCH] added number of cast votes

---
 helios/templates/voters_list.html | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/helios/templates/voters_list.html b/helios/templates/voters_list.html
index aa4a5ef..043c2fc 100644
--- a/helios/templates/voters_list.html
+++ b/helios/templates/voters_list.html
@@ -63,6 +63,16 @@ Prior Bulk Uploads:
 <a href="./list?page={{voters_page.previous_page_number}}&limit={{limit}}&q={{q|urlencode}}">previous {{limit}}</a> &nbsp;&nbsp;
 {% endif %}
 
+<p>
+<b>
+{% if election.num_cast_votes %}
+{{election.num_cast_votes}} cast vote{% ifequal election.num_cast_votes 1 %}{% else %}s{% endifequal %}
+{% else %}
+no votes yet
+{% endif %}
+</b>
+</p>
+
 Voters {{voters_page.start_index}} - {{voters_page.end_index}} (of {{total_voters}})&nbsp;&nbsp;
 
 {% if voters_page.has_next %}
-- 
GitLab