X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/823d530ba46c1fb3518c4deef0081738503837eb..94f498a0718776efa90193c918c6dd22f51329ac:/app/views/quickvote/results.rhtml?ds=sidebyside diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 0383b5e..a2da83d 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -1,9 +1,12 @@ -<% %> -<%require 'whois/whois' %> -

Results

+<% require 'whois/whois' %> + +
+ Quickvote + Results +
<% if @election.shortdesc %> -

Description:

+

Vote Description:

<%=h @election.shortdesc %> <% if @election.longdesc -%>
@@ -25,14 +28,21 @@ <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details)
-

Winners

+
+ Winner + +
<%= render :partial => 'result_' + @election.election_method, :object => @results[@election.election_method] %>
-

Other Voting Methods

+
+ Other Voting Methods + +
+ <% for result_type in @election.other_methods %>
<%= render :partial => 'result_' + result_type, @@ -41,7 +51,7 @@ <% end %> -
+

Voters <%= link_to "[Stalk Voters]", :controller => "quickvote", :action => "mapvoters", :id => @election.id %>

@@ -78,8 +88,9 @@ <% end %>
-<%=image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
+