X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1633d6c9b98f425d1ad33c1dd61a63b7365ff54c..f2ac11cbeb49cbccd62da51c31e14a8de1a6d26c:/app/views/front/_user_summary.rhtml?ds=inline diff --git a/app/views/front/_user_summary.rhtml b/app/views/front/_user_summary.rhtml index 30b3799..fd4ee6f 100644 --- a/app/views/front/_user_summary.rhtml +++ b/app/views/front/_user_summary.rhtml @@ -1,5 +1,8 @@ <% 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 %>