diff --git a/app/views/homework_attach/_homework.html.erb b/app/views/homework_attach/_homework.html.erb index be83a93ae..aa1075fae 100644 --- a/app/views/homework_attach/_homework.html.erb +++ b/app/views/homework_attach/_homework.html.erb @@ -24,11 +24,13 @@ <%= link_to "(#{homework.attachments.count.to_s}个附件)", zipdown_download_user_homework_path(:homework => homework)%>
  • - <%= l(:label_teacher_score)%>: - - <%= homework.t_score.nil? ? l(:label_without_score) : format("%.2f",homework.t_score)%> - -    + <% if !is_student_batch_homework %> + <%= l(:label_teacher_score)%>: + + <%= homework.t_score.nil? ? l(:label_without_score) : format("%.2f",homework.t_score)%> + +    + <% end %>
  • <%= l(:label_student_score)%>: