diff --git a/app/views/contests/_history.html.erb b/app/views/contests/_history.html.erb index f59bc0fc7..b62f91146 100644 --- a/app/views/contests/_history.html.erb +++ b/app/views/contests/_history.html.erb @@ -32,7 +32,6 @@ <% if reply_allow %> - <%#= link_to(l(:button_quote), {:controller => 'contests', :action => 'new', :id => contest, :journal_id => journal}, :remote => true, :method => 'post', :title => l(:button_quote))%> <%= link_to(l(:button_quote), contests_path(:id => contest, :journal_id => journal), @@ -43,15 +42,12 @@ <%= link_to l(:label_bid_respond_quote), '', {:focus => 'project_respond', - :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), '#{l(:label_reply_plural)} #{journal.user.show_name}: '); $('##{ids} textarea') ;return false;" + :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), '#{l(:label_reply_plural)} #{journal.user}: '); $('##{ids} textarea') ;return false;" } %> <% end %> <% if @user==User.current|| User.current.admin? %> - <%#= link_to(l(:label_bid_respond_delete), {:controller => 'bids', :action => 'destroy', :object_id => journal, :id => bid},:confirm => l(:label_delete_confirm), - :remote => true, :method => 'delete', :class => "delete", :confirm => l(:text_are_you_sure), :title => l(:button_delete)) %> - <%= link_to(l(:label_bid_respond_delete), words_destroy_path(:user_id => @user, :object_id => journal), diff --git a/app/views/contests/show_contest.html.erb b/app/views/contests/show_contest.html.erb index 5435f67fe..cc1210751 100644 --- a/app/views/contests/show_contest.html.erb +++ b/app/views/contests/show_contest.html.erb @@ -19,10 +19,6 @@