|
|
|
@ -29,8 +29,12 @@
|
|
|
|
|
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="mr5 ml10 w40">
|
|
|
|
|
<%= link_to "匿评",@show_all ? student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score, :name => @name) : "javascript:void(0)",:class => "f14 f_b c_dark fl"%>
|
|
|
|
|
<li class="ml15 w40">
|
|
|
|
|
<% if @homework.homework_type == 1%>
|
|
|
|
|
<%= link_to "匿评",@show_all ? student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score, :name => @name) : "javascript:void(0)",:class => "f14 f_b c_dark fl"%>
|
|
|
|
|
<% elsif @homework.homework_type == 2%>
|
|
|
|
|
<%= link_to "系统",@show_all ? student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score, :name => @name) : "javascript:void(0)",:class => "f14 f_b c_dark fl"%>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if @show_all && @order == "student_score"%>
|
|
|
|
|
<%= link_to "", student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score, :name => @name) ,:class => @score == 'desc' ? 'st_up' : 'st_down'%>
|
|
|
|
|
<% end%>
|
|
|
|
|