未开启匿评作业不显示导出缺评。匿评

This commit is contained in:
sw 2015-07-04 11:07:21 +08:00
parent 780ec509d2
commit 35a0f07d9f
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@
<span class="c_red">winrar</span> <span class="c_red">winrar</span>
工具进行解压 工具进行解压
</div> </div>
<%= link_to "匿评", evaluation_list_student_work_index_path(:homework => @homework.id, :format => 'xls'),:class=>'down_btn fr'%> <%= link_to("匿评", evaluation_list_student_work_index_path(:homework => @homework.id, :format => 'xls'),:class=>'down_btn fr') if @homework.homework_type == 1%>
<%= link_to "缺评", absence_penalty_list_student_work_index_path(:homework => @homework.id, :format => 'xls'),:class=>'down_btn fr'%> <%= link_to("缺评", absence_penalty_list_student_work_index_path(:homework => @homework.id, :format => 'xls'),:class=>'down_btn fr') if @homework.homework_type == 1%>
<%= link_to l(:label_list), student_work_index_path(:homework => @homework.id,:order => @order, :sort => @b_sort, :name => @name, :format => 'xls'),:class=>'down_btn fr'%> <%= link_to l(:label_list), student_work_index_path(:homework => @homework.id,:order => @order, :sort => @b_sort, :name => @name, :format => 'xls'),:class=>'down_btn fr'%>
<span class="mt3 fr " style="color:#136b3b;">导出全部:</span> <span class="mt3 fr " style="color:#136b3b;">导出全部:</span>
</div> </div>