<% comments.each do |comment| %>
  • <%= link_to image_tag(url_to_avatar(comment.creator_user), :width => 33, :height => 33, :alt => "用户头像"), user_url_in_org(comment.creator_user.id) %>
    <%= link_to comment.creator_user.show_name, user_url_in_org(comment.creator_user.id), :class => "newsBlue mr10 f14" %> <%= format_activity_day(comment.created_time) %> <%= format_time(comment.created_time, false) %> <%=render :partial=> "praise_tread/praise", :locals => {:activity=>comment, :user_activity_id=>comment.id,:type=>"reply"}%>
    <% if !comment.content_detail.blank? || comment.class == Journal %>
    <% if comment.class == Journal %> <% if comment.details.any? %> <% details_to_strings(comment.details).each do |string| %>

    <%= string %>

    <% end %> <% end %>

    <%= comment.notes.html_safe %>

    <% else %> <%= comment.content_detail.html_safe %> <% end %>
    <% end %>
  • <% end %>