X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..45d47676ca3cc1c19b457f83a9482ba8b906f829:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index fe2b09a..33bb038 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 ) ) %> +<%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %> +