|
|
@ -96,7 +96,7 @@
|
|
|
|
<a href="<%= operation_shixun_path(@shixun, :myshixun_id => @current_myshixun.try(:id)) %>" data-remote="true" class="edu-default-btn edu-blueline-btn fr">已完成</a>
|
|
|
|
<a href="<%= operation_shixun_path(@shixun, :myshixun_id => @current_myshixun.try(:id)) %>" data-remote="true" class="edu-default-btn edu-blueline-btn fr">已完成</a>
|
|
|
|
<% when 3, nil %>
|
|
|
|
<% when 3, nil %>
|
|
|
|
<% if @shixun.task_pass %>
|
|
|
|
<% if @shixun.task_pass %>
|
|
|
|
<a href='javascript:void(0)' class="edu-default-btn edu-blueback-btn fr" onclick="begin_sXun('<%= @current_myshixun.try(:id) %>')">直接挑战</a>
|
|
|
|
<a href='<%= myshixun_game_path(current_game, :myshixun_id => @current_myshixun.try(:id)) %>' class="edu-default-btn edu-blueback-btn fr" >直接挑战</a>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<a href="javascript:void(0)" data-tip-down="请先完成前序关卡" class="edu-default-btn edu-greyback-btn fr">直接挑战</a>
|
|
|
|
<a href="javascript:void(0)" data-tip-down="请先完成前序关卡" class="edu-default-btn edu-greyback-btn fr">直接挑战</a>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|