X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/1633d6c9b98f425d1ad33c1dd61a63b7365ff54c..de7ac9ab65e04dbb81165e4317894a0e160ac9be:/app/views/common/_methodinfo_ssd.rhtml?ds=inline diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml index 6b6d42f..230191c 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -3,7 +3,7 @@ preference (from most preferred to least preferred):

    <% @election.ssd_result.ranked_candidates.each do |place| %> -
  1. <%= h(place.collect {|c| @names[c].capitalize}.join( " and " )) %> +
  2. <%= white_list place.collect {|c| @names[c].capitalize}.join( " and " ) %> <%= "(TIE)" if place.length > 1 %>
  3. <% end %>
@@ -25,12 +25,16 @@ Beatpath Winner, Path Voting, and Path Winner.

<% candidates = @election.ssd_result.ranked_candidates.flatten -%> <% if candidates.size <= 7 -%> - <%= render_partial 'common/pref_tables' %> + <%= render :partial => 'common/pref_tables' %> <% else %> There are too many candidates in your elections to show the result - tables. <%= link_to "Click here", { :action => 'pref_tables', :id => - @voter.password }, :popup => [] %> to view details. + tables. + + <% if not @election.class == QuickVote %> + <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %> + to view details. + <% end %> <% end -%>