<%=l(:label_user_response)%>(<%= journals.count%>) <% if journals.size > 5 %> <% unless state%>
<%= link_to l(:button_more), {:controller => 'bids', :action => 'more', :id => bid}, :remote => true, :method => 'get' %>
<% else %>
<%= link_to l(:button_back), {:controller => 'bids', :action => 'back', :id => bid}, :remote => true, :method => 'get' %>
<% end %> <% end %>
<% if User.current.logged? %>
<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>
<% end %> <% unless state%> <% if journals.size > 5 %> <% journals = journals[0, 5] %> <% end %> <% end %> <% if journals.size >0 %> <% remove_allowed = (User.current.id == journals.first.jour_id) %> <% for journal in journals%>
<%= link_to image_tag(url_to_avatar(journal.user), :class => "avatar"), user_path(journal.user), :class => "avatar" %>
<%=link_to journal.user, user_path(journal.user)%> 对需求进行了反馈<%= link_to "##{journal.indice}", {}, :class => "journal-link" %>

<%= textilizable journal.notes%>

<%= journal.created_at %> <%= link_to(image_tag('comment.png'), {:controller => 'bids', :action => 'new', :id => bid, :journal_id => journal}, :remote => true, :method => 'post', :title => l(:button_quote))%><%= link_to(image_tag('delete.png'), {:controller => 'bids', :action => 'destroy', :object_id => journal, :id => bid}, :remote => true, :method => 'delete', :class => "delete", :title => l(:button_delete)) if remove_allowed || journal.user_id == User.current.id %>
<% end %> <% end %>