未发布状态作业的匿评设置选项遗漏

This commit is contained in:
cxt 2016-11-01 16:17:29 +08:00
parent 065b3b15f3
commit f786b40b1f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
</li>
<% if activity.anonymous_comment == 0 %>
<li>
<%= link_to("匿评设置", start_evaluation_set_homework_common_path(activity,:user_activity_id => user_activity_id, :hw_status => hw_status),:class => "postOptionLink", :remote => true) if activity.homework_detail_manual.comment_status == 1%>
<%= link_to("匿评设置", start_evaluation_set_homework_common_path(activity,:user_activity_id => user_activity_id, :hw_status => hw_status),:class => "postOptionLink", :remote => true) if activity.homework_detail_manual.comment_status < 2%>
</li>
<li>
<%= homework_anonymous_comment activity,hw_status,user_activity_id %>