X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..09c67d9323c7d379d4c6de5dc0457b6de16cff14:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index fe2b09a..5fdfc3c 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -21,7 +21,7 @@

Number of voters:

- <%= @election.voters.length %> (see below for details) + <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details)

Winners

@@ -123,7 +123,6 @@ points is the winner.

Instant Runoff (IRV) Results

-<%= render :partial => 'result', :object => @runoff_result %>
About Instant Runoff Voting @@ -154,6 +153,7 @@ by several other names.

Vote <% for voter in @election.voters %> + <% next unless voter.voted? %> <%= voter.ipaddress %> <%= `host #{voter.ipaddress}`.sub(/^.*pointer (.*)\.$/, '\1') %> @@ -161,3 +161,9 @@ by several other names.

<% end %> + +<%= image_tag( graph_url( :action => 'votes_per_day', :id => @election ) ) %>
+<%= image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
+<%= image_tag( graph_url( :action => 'borda_bar', :id => @election ) ) %> + +