From af840c52358dc9fa8378194b2c05872dcd50dd69 Mon Sep 17 00:00:00 2001 From: Date: Mon, 31 Mar 2008 14:55:32 -0400 Subject: [PATCH] fix for bug introduces with full versions --- app/views/common/_methodinfo_condorcet.rhtml | 9 +++++++-- app/views/common/_methodinfo_ssd.rhtml | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) 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 -%> -- 2.30.2