|
|
|
@ -4,9 +4,9 @@
|
|
|
|
|
<li style="min-height: 1px;width: 65px;">
|
|
|
|
|
<% if is_my_work%>
|
|
|
|
|
<% 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%>
|
|
|
|
|
<% else%>
|
|
|
|
|
<%= link_to "--", "javascript:void(0)",:class => "c_blue02 hwork_center"%>
|
|
|
|
|
<%= link_to "--", "javascript:void(0)",:class => "c_grey hwork_center"%>
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class=" hwork_tit_e" style="width: 440px">
|
|
|
|
|
<%= 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>
|
|
|
|
|
<% my_score = student_work_score(student_work,User.current) %>
|
|
|
|
|
<li class=" hwork_code <%= my_score.nil? ? 'c_grey' : 'c_red'%>">
|
|
|
|
|