From 3b2c7cc0ec8a1fda51b70524d3d6d1f9a00573df Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 2 Dec 2014 16:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E8=AF=84=E8=AE=BA=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E8=A2=AB=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/homework_attach/_jour.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/homework_attach/_jour.html.erb b/app/views/homework_attach/_jour.html.erb index 0e33e12c1..76bc15782 100644 --- a/app/views/homework_attach/_jour.html.erb +++ b/app/views/homework_attach/_jour.html.erb @@ -35,7 +35,7 @@
<% ids = 'project_respond_form_'+ jour.id.to_s%> - <% if (jour.user==User.current|| User.current.admin?) && show_name %> + <% if (jour.user==User.current|| User.current.admin?) && show_name && !show_score %> <%= link_to(l(:label_bid_respond_delete), {:controller => 'homework_attach', :action => 'destroy_jour', :object_id => jour, :user_id => jour.user,:jour_id =>@homework.id }, :remote => true, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) %> <% end %>