X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/5901217a8893619fbdb02d540c08390f92eae368..48c010a3cab1ead44b32389a9eb7870cc76d709e:/app/views/front/_user_summary.rhtml?ds=sidebyside diff --git a/app/views/front/_user_summary.rhtml b/app/views/front/_user_summary.rhtml index ce65bba..fd4ee6f 100644 --- a/app/views/front/_user_summary.rhtml +++ b/app/views/front/_user_summary.rhtml @@ -1,10 +1,17 @@ <% if @current_elections.length < 1 %>
You have not created any elections.
+<% elsif @current_elections.length > 6 %> +You have more than six elections which may not fit on the control panel. Clcik on the following link to go to your user profile, which lists all your elections. +<%= link_to "Summary", :controller => "account", :action => "summary", :id => session[:user].id %>
<% else %>