竞赛战队详情

dev_aliyun
cxt 5 years ago
parent cf4668e3b8
commit 8513370063

@ -188,7 +188,7 @@ class CompetitionsController < ApplicationController
end
end
end
if @competition.identifier == "gcc-annotation-2018"
if @competition.identifier == "gcc-annotation-2018" || @competition.identifier == "gcc-course-2019"
@rule_content = @competition.chart_rules.first
else
@rule_content = @competition.chart_rules.where(:competition_stage_id => @stage.try(:id)).first

@ -1,4 +1,4 @@
<% if @competition.identifier == 'hn' || @competition.identifier == 'gcc-dev-2018' || @competition.identifier == "gcc-annotation-2018" || @competition.identifier == "gcc-task-2019" %>
<% if @competition.identifier == 'hn' || @competition.identifier == 'gcc-dev-2018' || @competition.identifier == "gcc-annotation-2018" || @competition.identifier == "gcc-task-2019" || @competition.identifier == "gcc-course-2019" %>
<div class="competion-ranking">
<div class="ranking-nav edu-txt-center clearfix">
<div class="inline">

Loading…
Cancel
Save