Merge head
authorJohn Dong <jdong@mit.edu>
Fri, 31 Aug 2007 19:22:55 +0000 (15:22 -0400)
committerJohn Dong <jdong@mit.edu>
Fri, 31 Aug 2007 19:22:55 +0000 (15:22 -0400)
1  2 
app/views/quickvote/_results_sidebar.rhtml
app/views/quickvote/results.rhtml

index d71d01f15e594f09c7907aaa5cac68c672d12798,37776b802f0cdbff66f125921248b3b3f4bb3a87..f346b2ef280e324cb57b3731c9e1f054cb4b2906
@@@ -4,7 -4,7 +4,7 @@@
  <p>This election was run using:
  <strong><%= ELECTION_TYPES[@election.election_method] %></strong></p>
  
 -<p>View results with other methods:<br />
 +<p>View results using other methods:<br />
  <% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>
  <%= select_tag 'election_type_select', options_for_select(type_hash, @election.election_method) %></p>
  
@@@ -34,4 -34,11 +34,11 @@@ Event.observe(method_select, 'change', 
  
  <h2>Statistics</h2>
  <%= image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
+ <br />
+ <br />
+ <h2>Voter Report</h2>
+ <p><%= link_to "[View All Voters: Map and Other Info]", :controller => "quickvote",
+        :action => "list_voters", :id => @election.id %></p>
  
index c0de537b423229f3c1fc28ad71cbf91caece8895,3ba74f56b17383c35732a1730e80b625955703ec..4c91538992c3aa50850e009e28ccd8ac2d4c2d32
@@@ -25,7 -25,7 +25,7 @@@
  
  <p><strong>Number of voters:</strong></p>
     <blockquote>
 -     <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) 
 +     <%= @election.voters.reject {|v| not v.voted? }.length %>
     </blockquote>
  
  <%= render :partial => 'result_box',
  
  <div class="clear-div"></div>
  
- <div class="normal-header">
-   <span class="header">Voter Report</span>
-   <span class="subheader"></span>
- </div>
- <p><%= link_to "[View All Voters]", :controller => "quickvote", :action => "list_voters", :id => @election.id %></p>
- <br />
  <!--
  <%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %><br />
  -->

Benjamin Mako Hill || Want to submit a patch?