|
|
|
@ -109,11 +109,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</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 %>
|
|
|
|
|
<% 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">
|
|
|
|
@ -124,7 +119,7 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%= render :partial => "competitions/team_list" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% unless @teams.present? %>
|
|
|
|
|
<% if @teams.blank? %>
|
|
|
|
|
<div class="edu-txt-center">
|
|
|
|
|
<p class="font-30 color-green mb30">您还未参与报名哦,赶紧来挑战吧~</p>
|
|
|
|
|
<img src="/images/educoder/competition/noTeam.png"/>
|
|
|
|
|