projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put in a pie graph for Plurality votes. ALso slimmed down victories_and_ties method...
[selectricity]
/
app
/
views
/
quickvote
/
results.rhtml
diff --git
a/app/views/quickvote/results.rhtml
b/app/views/quickvote/results.rhtml
index 874f725f7b85972522ca1094159b56f4ef30e887..3d5468ce7782bd2d9095033fcde95a545abde31d 100644
(file)
--- a/
app/views/quickvote/results.rhtml
+++ b/
app/views/quickvote/results.rhtml
@@
-181,4
+181,5
@@
by several other names.</p>
<%=image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
<br />
<%= image_tag( graph_url( :action => 'borda_bar', :id => @election ) ) %><br />
<%=image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
<br />
<%= image_tag( graph_url( :action => 'borda_bar', :id => @election ) ) %><br />
-<%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %>
+<%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %><br />
+<%= image_tag(graph_url( :action => 'plurality_pie', :id => @election ) )%>
Benjamin Mako Hill
||
Want to submit a patch?