From: Date: Mon, 31 Mar 2008 18:55:32 +0000 (-0400) Subject: fix for bug introduces with full versions X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/af840c52358dc9fa8378194b2c05872dcd50dd69 fix for bug introduces with full versions --- diff --git a/app/views/common/_methodinfo_condorcet.rhtml b/app/views/common/_methodinfo_condorcet.rhtml index 5fb29e0..1cb5fae 100644 --- a/app/views/common/_methodinfo_condorcet.rhtml +++ b/app/views/common/_methodinfo_condorcet.rhtml @@ -17,8 +17,13 @@ another Condorcet system.

<% 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 -%> diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml index 5ec8b89..25bc354 100644 --- a/app/views/common/_methodinfo_ssd.rhtml +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -29,8 +29,12 @@ Beatpath Winner, Path Voting, and Path Winner.

<% 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 -%>