Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity] / app / views / site / index.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index eb009b3..0c44218
@@ -11,16 +11,22 @@ without the complex features of <em>Selectricity</em>. They are the
 quickest way to make a decision or to compare between voting
 methods.</p>
 
-<p><%= link_to "Create a QuickVote", :controller => 'quickvote', :action => 'create' %></p>
+<p><%= link_to( "Create a QuickVote", :controller => 'quickvote',
+                :action => 'create') %></p>
 
+<p>Take a look at the QuickVotes you've made recently: <br />
+<%= link_to( "My Recent QuickVotes", :controller => 'quickvote',
+                :action => 'my_quickvotes')%></p>
 <p>Recent <em>QuickVotes</em> include:</p>
 
 <ul>
 <% for quickvote in @quickvotes %>
-<li><%= link_to (quickvote.shortdesc || "Unnamed"), quickvote_url(:votename => quickvote.name) %></li>
+<li><%= link_to (h(quickvote.shortdesc) || "Unnamed"), quickvote_url(:ident => quickvote.name) %></li>
 <% end %>
 </ul>
 
+
+
 <h2>Selectricity <em>Anywhere</em></h2>
 
 <p>You can also access Selectricity entirely over email or via SMS/text

Benjamin Mako Hill || Want to submit a patch?