From 1673f4f960c5bf3405e35dcc02e6c3851eac61c4 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 11 Sep 2015 17:52:37 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=80=81=E5=B8=88=E6=89=93=E5=BC=80?= =?UTF-8?q?=E7=BC=96=E7=A8=8B=E4=BD=9C=E5=93=81=E6=8A=A5=E9=94=99=202?= =?UTF-8?q?=E3=80=81=E9=9A=90=E8=97=8F=E5=BC=80=E5=90=AF=E5=8C=BF=E8=AF=84?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/homework_common/index.html.erb | 4 +- .../_programing_work_show.html.erb | 70 ++++++++++--------- app/views/student_work/index.html.erb | 2 +- 3 files changed, 40 insertions(+), 36 deletions(-) diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb index 694069b44..a39f93671 100644 --- a/app/views/homework_common/index.html.erb +++ b/app/views/homework_common/index.html.erb @@ -25,8 +25,8 @@ ( <%= link_to homework.student_works.count, student_work_index_path(:homework => homework.id), :class => 'c_red'%> )
<% if @is_teacher%> - <%= homework_anonymous_comment(homework)%> - <%= link_to(l(:label_bid_respond_delete), homework_common_path(homework),:method => 'delete', :confirm => l(:text_are_you_sure), :class => "fr mr10 work_edit") %> + <%#= homework_anonymous_comment(homework)%> + <%#= link_to(l(:label_bid_respond_delete), homework_common_path(homework),:method => 'delete', :confirm => l(:text_are_you_sure), :class => "fr mr10 work_edit") %> <%#= link_to(l(:button_edit),edit_homework_common_path(homework), :class => "fr mr10 work_edit") %> <% elsif @is_student%> <%= student_anonymous_comment homework %> diff --git a/app/views/student_work/_programing_work_show.html.erb b/app/views/student_work/_programing_work_show.html.erb index b259e20a5..10e1870ef 100644 --- a/app/views/student_work/_programing_work_show.html.erb +++ b/app/views/student_work/_programing_work_show.html.erb @@ -25,40 +25,44 @@ <% if @is_teacher%> -输入 | -输出 | -测试结果 | -
<%= student_work_test.nil? ? "正在编译" : student_work_test.status_to_s%> | - -||
- <%= student_work_test.error_msg%> - | -
第<%= @work.student_work_tests.count - index%>次测试
<%= test.created_at.to_s(:db) %> + +