<!-- 作品列表，显示某一个作品的信息 -->
<ul class="hwork_ul <%= cycle("b_grey", "") %>" id="student_work_<%= student_work.id%>">
  <li class="hwork_num">
    <span>
      <%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
    </span>
  </li>
  <li class=" hwork_name ">
    <%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name, :class => "c_blue02"%>
  </li>
  <li class=" hwork_tit">
    <%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%>
  </li>
  <li class=" hwork_code <%= student_work.teacher_score.nil? ? 'c_grey' : 'c_red'%> mr18">
    <%= student_work.teacher_score.nil? ? "--" : format("%.2f",student_work.teacher_score)%>
  </li>
  <li class=" hwork_code <%= student_work.teaching_asistant_score.nil? ? 'c_grey' : 'c_red'%> mr18">
    <%= student_work.teaching_asistant_score.nil? ? "--" : format("%.2f",student_work.teaching_asistant_score)%>
  </li>
  <li class=" hwork_code02 <%= student_work.student_score.nil? ? 'c_grey' : 'c_red'%> mr18 student_score_info" >
    <%= student_work.student_score.nil? ? "--" : format("%.2f",student_work.student_score)%>
    <% unless student_work.student_score.nil?%>
        <span class="c_blue">
          (<%= student_work.student_works_scores.where(:reviewer_role => 3).count%>)
        </span>
        <div class="info_ni">
          现共有
          <span class="c_red">&nbsp;<%= student_work.student_works_scores.where(:reviewer_role => 3).count%>&nbsp;</span>
          名学生进行了匿评，平均分为
          <span class="c_red">&nbsp;<%= format("%.2f",student_work.student_score)%>&nbsp;</span>分。
        </div>
    <% end%>
  </li>
  <li class=" hwork_code <%= student_work.final_score.nil? ? 'c_grey' : 'c_red'%>">
    <%= student_work.final_score.nil? ? "--" : format("%.2f",student_work.final_score)%>
  </li>
  <div class="cl"></div>
</ul><!---hwork_ul end-->