From b917541290645161534c3517412ddfce4bde18ff Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Fri, 23 Sep 2016 18:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=9C=E4=B8=9A=E7=9A=84?= =?UTF-8?q?=E4=B8=8A=E4=BA=A4=E6=97=B6=E9=97=B4=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/courses/code_repeat.html.erb | 4 ++-- app/views/student_work/_programing_work_show.html.erb | 2 +- app/views/student_work/_show.html.erb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/courses/code_repeat.html.erb b/app/views/courses/code_repeat.html.erb index 87cf539fa..b980ac28f 100644 --- a/app/views/courses/code_repeat.html.erb +++ b/app/views/courses/code_repeat.html.erb @@ -28,14 +28,14 @@
  • <%=student_work_name%>
  • <%=student_work.user.show_name%>
  • <%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
  • -
  • <%= Time.parse(format_time(student_work.created_at)).strftime("%m-%d %H:%M")%>
  • +
  • <%= Time.parse(format_time(student_work.commit_time)).strftime("%m-%d %H:%M")%>
  • <% if student_work.simi_id.to_i > 0 && @works_hash[student_work.simi_id.to_i] %> <% simi_student_work = @works_hash[student_work.simi_id.to_i] %> <% simi_student_work_name = simi_student_work.name.nil? || simi_student_work.name.empty? ? simi_student_work.user.show_name + '的作品' : simi_student_work.name%>
  • <%=simi_student_work_name%>
  • <%=simi_student_work.user.show_name%>
  • <%= simi_student_work.user.user_extensions.nil? ? "--" : simi_student_work.user.user_extensions.student_id%>
  • -
  • <%= Time.parse(format_time(simi_student_work.created_at)).strftime("%m-%d %H:%M")%>
  • +
  • <%= Time.parse(format_time(simi_student_work.commit_time)).strftime("%m-%d %H:%M")%>
  • <% if student_work.simi_value.to_i >= 90 %>
  • <%=student_work.simi_value.to_i%>%
  • <% else %> diff --git a/app/views/student_work/_programing_work_show.html.erb b/app/views/student_work/_programing_work_show.html.erb index bf4cf9e76..6d5538e23 100644 --- a/app/views/student_work/_programing_work_show.html.erb +++ b/app/views/student_work/_programing_work_show.html.erb @@ -3,7 +3,7 @@