|
|
|
@ -20,7 +20,8 @@
|
|
|
|
|
<a href="javascript:void(0)">实评</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="ml30">
|
|
|
|
|
<a href="javascript:void(0)">缺评</a>
|
|
|
|
|
<%= link_to "缺评",student_work_absence_penalty_student_work_index_path(:homework => @homework.id,:order => @order)%>
|
|
|
|
|
<a href="javascript:void(0);" class="<%= @order == 'desc' ? 'st_up' : 'st_down'%>" ></a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="cl"></div><!--st_box_top end-->
|
|
|
|
@ -35,19 +36,14 @@
|
|
|
|
|
<li class=" hwork_name_ab ">
|
|
|
|
|
<%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name, :class => "c_blue02"%>
|
|
|
|
|
</li>
|
|
|
|
|
<%
|
|
|
|
|
all_count = all_evaluation_count student_work.user,@homework
|
|
|
|
|
has_count = has_evaluation_count student_work.user,@homework
|
|
|
|
|
absence = all_count - has_count
|
|
|
|
|
%>
|
|
|
|
|
<li class="absence c_grey">
|
|
|
|
|
<%= all_count%>
|
|
|
|
|
<%= student_work.all_count%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="absence c_grey">
|
|
|
|
|
<%= has_count%>
|
|
|
|
|
<%= student_work.has_count%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="absence <%= absence == 0 ? 'c_green' : 'c_red'%>">
|
|
|
|
|
<%= absence%>
|
|
|
|
|
<li class="absence <%= student_work.absence == 0 ? 'c_green' : 'c_red'%>">
|
|
|
|
|
<%= student_work.absence%>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<% end%>
|
|
|
|
|