|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
<li class="hworkPortrait mt15 mr10">
|
|
|
|
|
<%= image_tag(url_to_avatar(student_work.user),width:"40", height: "40") %>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkName mt15 mr15 width285 student_work_<%= student_work.id%>">
|
|
|
|
|
<li class="hworkName mt15 mr15 width255 student_work_<%= student_work.id%>">
|
|
|
|
|
<% student_work_name = student_work.name.nil? || student_work.name.empty? ? student_work.user.show_name + '的作品' : student_work.name%>
|
|
|
|
|
<div>
|
|
|
|
|
<%= link_to student_work_name, student_work_path(student_work),:remote => true,:title => student_work_name, :class => "linkGrey f14 StudentName break_word width285"%>
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
<li class="hworkPortrait mt15 mr10">
|
|
|
|
|
<%= image_tag(url_to_avatar(""),width:"40", height: "40") %>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkName mt15 mr15 width285 student_work_<%= student_work.id%>">
|
|
|
|
|
<li class="hworkName mt15 mr15 width255 student_work_<%= student_work.id%>">
|
|
|
|
|
<div>
|
|
|
|
|
<%= link_to "匿名的作品", student_work_path(student_work),:remote => true,:title => student_work_name, :class => "linkGrey f14 StudentName break_word width285"%>
|
|
|
|
|
</div>
|
|
|
|
|