|
|
@ -109,11 +109,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% elsif !User.current.admin? %>
|
|
|
|
|
|
|
|
<div class="edu-txt-center">
|
|
|
|
|
|
|
|
<p class="font-30 color-green mb30">您还未参与报名哦,赶紧来挑战吧~</p>
|
|
|
|
|
|
|
|
<img src="/images/educoder/competition/noTeam.png"/>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% if User.current.admin? && @teams.present? %>
|
|
|
|
<% if User.current.admin? && @teams.present? %>
|
|
|
|
<input class="fl ml20 mb5" style="padding: 5px; width: 200px; line-height: 20px;" maxlength="10" placeholder="输入学校名称进行搜索" type="text" id="school_name">
|
|
|
|
<input class="fl ml20 mb5" style="padding: 5px; width: 200px; line-height: 20px;" maxlength="10" placeholder="输入学校名称进行搜索" type="text" id="school_name">
|
|
|
@ -124,7 +119,7 @@
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<%= render :partial => "competitions/team_list" %>
|
|
|
|
<%= render :partial => "competitions/team_list" %>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<% unless @teams.present? %>
|
|
|
|
<% if @teams.blank? %>
|
|
|
|
<div class="edu-txt-center">
|
|
|
|
<div class="edu-txt-center">
|
|
|
|
<p class="font-30 color-green mb30">您还未参与报名哦,赶紧来挑战吧~</p>
|
|
|
|
<p class="font-30 color-green mb30">您还未参与报名哦,赶紧来挑战吧~</p>
|
|
|
|
<img src="/images/educoder/competition/noTeam.png"/>
|
|
|
|
<img src="/images/educoder/competition/noTeam.png"/>
|
|
|
|