X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1633d6c9b98f425d1ad33c1dd61a63b7365ff54c..2ee66139013b4bd54c9614508dcf0b9d8b0714f7:/app/views/common/_methodinfo_ssd.rhtml?ds=sidebyside
diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml
index 6b6d42f..25bc354 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| %>
- - <%= h(place.collect {|c| @names[c].capitalize}.join( " and " )) %>
+
- <%= white_list place.collect {|c| @names[c].capitalize}.join( " and " ) %>
<%= "(TIE)" if place.length > 1 %>
<% end %>
@@ -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 -%>