diff --git a/app/views/layouts/base_newcontest.html.erb b/app/views/layouts/base_newcontest.html.erb index 479e74e4..a4d33bb9 100644 --- a/app/views/layouts/base_newcontest.html.erb +++ b/app/views/layouts/base_newcontest.html.erb @@ -101,12 +101,13 @@ --> - <%=link_to "#{@contest.projects.where('is_public=1').count}", :controller => 'contests', :action => 'show_project' %> + + <%=link_to "#{@contest.watcher_users.count}", :controller => 'contests', :action => 'show_project' %> <% if @contest.id == 2 or @contest.id == 3 or @contest.id == 6 %> - <%=link_to "#{@contest.projects.where('is_public=1').count}", :controller => 'contests', :action => 'show_attendingcontest' %> + <%=link_to "#{@contest.projects.where('is_public=1').count}" %> <% else %> <%=link_to "#{@contest.contesting_softapplications.count}", :controller => 'contests', :action => 'show_attendingcontest' %> <% end %>