fix for bug introduces with full versions
author<mako@atdot.cc> <>
Mon, 31 Mar 2008 18:55:32 +0000 (14:55 -0400)
committer<mako@atdot.cc> <>
Mon, 31 Mar 2008 18:55:32 +0000 (14:55 -0400)
app/views/common/_methodinfo_condorcet.rhtml
app/views/common/_methodinfo_ssd.rhtml

index 5fb29e05fc22f33e0f0bf9e47da2e70599099a3d..1cb5fae3ff20417d91968a43dff94ba353360412 100644 (file)
@@ -17,8 +17,13 @@ another Condorcet system.</p>
 <% 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 -%>
 
index 5ec8b89e6c24ced67b5b0ebd4eefdf25d83c6522..25bc3546c38cd4c4e42e629b5c7ac21bf52351b9 100644 (file)
@@ -29,8 +29,12 @@ Beatpath Winner, Path Voting, and Path Winner.</p>
 <% 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 -%>
 

Benjamin Mako Hill || Want to submit a patch?