X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..09c67d9323c7d379d4c6de5dc0457b6de16cff14:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml old mode 100755 new mode 100644 index ef2ffd9..5fdfc3c --- 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

@@ -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 ) ) %> + +