|
|
|
@ -32,7 +32,6 @@
|
|
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
<% 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)) %>
|
|
|
|
|
<!-- modified by longjun -->
|
|
|
|
|
<%= link_to(l(:label_bid_respond_delete),
|
|
|
|
|
|
|
|
|
|
words_destroy_path(:user_id => @user, :object_id => journal),
|
|
|
|
|