X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/215cf287e52da41605cb033da236a6b0aeee4f3a..ad088c1324d08a65f6f5336bedf7a88a8a8950e7:/app/views/common/_methodinfo_ssd.rhtml diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml index 5ec8b89..00f9feb 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -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.type == QuickVote %> + <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %> + to view details. + <% end %> <% end -%>