竞赛介绍
<% if User.current.admin_of_contest?(@contest) %> <%= link_to "编辑", {:controller => 'contests', :action => 'settings', :id => @contest}, :class => "link-blue fr mt5 none", :id => "edit_link" %> <% end %>
<% if (@contest.description.nil? || (@contest.description == "" && @contest.attachments.blank?)) && User.current.admin_of_contest?(@contest) %>

请尽快补充竞赛说明,赢得更多参赛者的青睐吧~

<% elsif (@contest.description.nil? || (@contest.description == "" && @contest.attachments.blank?)) %>

尚未发布竞赛说明,敬请期待~

<% else %>
<%= @contest.description.html_safe %>
<%= render :partial=>"attachments/activity_attach", :locals=>{:activity => @contest} %>
<% end %>
<%= get_acts_list_type @type %>
      • <%= link_to "全部动态", contest_path(@contest), :class =>"homepagePostTypeAll postTypeGrey"%>
      • <%= link_to "作品动态", contest_path(@contest, :type => 'work'), :class => "homepagePostTypeAssignment postTypeGrey"%>
      • <%= link_to "通知动态", contest_path(@contest, :type => 'news'), :class => "homepagePostTypeNotice postTypeGrey"%>
      • <%= link_to "论坛动态", contest_path(@contest, :type => 'message'), :class => "homepagePostTypeForum postTypeGrey"%>
      • <%= link_to "留言动态", contest_path(@contest, :type => 'journalsForMessage'), :class => "homepagePostTypeMessage postTypeGrey"%>
<%= render :partial => 'contests/contest_activity', :locals => {:contest_activities => @contest_activities,:page => 0,:type => @type} %>