|
|
|
@ -38,11 +38,16 @@
|
|
|
|
|
</div>
|
|
|
|
|
<% if @contests.size > 0%>
|
|
|
|
|
<%= sort_contest(@s_state)%>
|
|
|
|
|
<div id="bid-show">
|
|
|
|
|
<div id="bid-show" class="projects-index">
|
|
|
|
|
<%= render :partial => 'contest_list', :locals => {:contests => @contests, :contest_pages => @contest_pages} %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% elsif @is_search%>
|
|
|
|
|
<%= render :partial => "layouts/no_content"%>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= sort_contest(@s_state)%>
|
|
|
|
|
<div id="bid-show" class="projects-index">
|
|
|
|
|
<%= render :partial => 'contest_list', :locals => {:contests => @contests, :contest_pages => @contest_pages} %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<% html_title l(:label_contest_list)%>
|
|
|
|
|