|
|
@ -2,13 +2,13 @@
|
|
|
|
<ul class="hwork_ul <%= cycle("b_grey", "") %>" id="student_work_<%= student_work.id%>">
|
|
|
|
<ul class="hwork_ul <%= cycle("b_grey", "") %>" id="student_work_<%= student_work.id%>">
|
|
|
|
<li style="min-height: 1px;width: 65px;">
|
|
|
|
<li style="min-height: 1px;width: 65px;">
|
|
|
|
<% student_id = student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
|
|
|
|
<% student_id = student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
|
|
|
|
<%= link_to student_id,user_path(student_work.user),:class => "c_blue02 hwork_center",:title => student_id%>
|
|
|
|
<%= link_to student_id,"javascript:void(0)",:class => "c_grey hwork_center",:title => student_id%>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<%= link_to student_work.user.show_name,user_path(student_work.user),:class => "c_blue02 hwork_name",:title => student_work.user.show_name%>
|
|
|
|
<%= link_to student_work.user.show_name,user_path(student_work.user),:class => "c_blue02 hwork_name",:title => student_work.user.show_name%>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class=" hwork_tit">
|
|
|
|
<li class=" hwork_tit">
|
|
|
|
<%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name%>
|
|
|
|
<%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class=" hwork_code <%= student_work.teacher_score.nil? ? 'c_grey' : 'c_red'%>">
|
|
|
|
<li class=" hwork_code <%= student_work.teacher_score.nil? ? 'c_grey' : 'c_red'%>">
|
|
|
|
<%= student_work.teacher_score.nil? ? "--" : format("%.2f",student_work.teacher_score)%>
|
|
|
|
<%= student_work.teacher_score.nil? ? "--" : format("%.2f",student_work.teacher_score)%>
|
|
|
|