X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/66e774fa70c7ec116de558b0b4c4c07cd9d0e270..3d349b24ddccc0ce66b72de9d9fd4b4326d8fe75:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 98a71e5..cba32d0 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -1,3 +1,4 @@ +<% %> <%require 'IPAddr' %>

Results

@@ -145,7 +146,6 @@ by several other names.

Voters

- @@ -160,7 +160,7 @@ by several other names.

<%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %> <% rescue ArgumentError => err %> - <%= " - " %> + <%= voter.ipaddress %> <% end %> @@ -168,8 +168,10 @@ by several other names.

<% end %>
IP Address <%= voter.vote.votestring %>
+<%= render :partial => 'defeats_list' %> +<%= render :partial => 'pref_table' %> + <%= 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 ) ) %> -