匿评时点击姓名和关联的项目应打开作品详情

This commit is contained in:
cxt 2016-11-11 18:31:00 +08:00
parent 809cb5a344
commit a831be59d0
1 changed files with 2 additions and 2 deletions

View File

@ -59,10 +59,10 @@
-- --
</td> </td>
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %> <% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
<td class="hworkName pr10 w220 float-none student_work_<%= student_work.id%>"> <td class="hworkName pr10 w220 float-none student_work_<%= student_work.id%>" onclick="show_student_work('<%= student_work_path(student_work)%>');">
<div style="text-align: left">匿名</div> <div style="text-align: left">匿名</div>
</td> </td>
<td class="hworkPrName float-none mr10 student_work_<%= student_work.id%>" title=""> <td class="hworkPrName float-none mr10 student_work_<%= student_work.id%>" title="" onclick="show_student_work('<%= student_work_path(student_work)%>');">
匿名 匿名
</td> </td>
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %> <% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %>