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 %>