<% unless @message.empty? %>
<% @message.sort {|x,y| y.created_at <=> x.created_at }.each do |e| -%>
<%= link_to image_tag(url_to_avatar(e.user), :class => "avatar"), user_path(e.user), :class => "avatar" %>
<%= link_to(h(e.user), user_path(e.user)) %> <% if e.jour_type == "Bid"%> 对需求:<%= link_to(e.jour.name, respond_path(e.jour))%>进行了反馈 <% elsif e.jour_type == 'Principal' %> 对<%= link_to("我", user_path(e.jour))%>的话进行了引用 <% end %>

<%= textilizable e.notes %>

<%= format_time e.created_at %>
<% end %>
<% end %>