<% if @competition.identifier == 'hn' || @competition.identifier == 'gcc-dev-2018' || @competition.identifier == "gcc-annotation-2018" || @competition.identifier == "gcc-task-2019" || @competition.identifier == "gcc-course-2019" %>
<% if @competition.identifier == "gcc-annotation-2018" %>
  • 开源标注正赛排行榜
  • <% elsif @competition.identifier == "gcc-course-2019" %>
  • 排行榜
  • <% else %> <% if @max_min_stage.count == 1 %>
  • 排行榜
  • <% else %> <% if @competition.end_time < Time.now %>
  • ">总排行榜
  • <% end %> <% @max_min_stage.reverse.each do |section| %> <% stage = section.competition_stage %> <% if stage.name != "模拟赛" && !stage.name.blank? %> <% if section.min_start_time < Time.now %>
  • "><%= stage.name %>排行榜
  • <% end %> <% end %> <% end %> <% end %> <% end %>
    <%= render :partial => "competitions/chartList" %>
    <% end %>