<% count = activity.journals.count %> <% comments = activity.journals.includes(:user, :details).reorder("created_on desc") %> <% no_children_comments = get_no_children_comments comments %>
<%= render :partial => 'projects/project_reply_banner', :locals => {:count => count, :activity => activity, :user_activity_id => user_activity_id, :expand_more =>no_children_comments[:three_more]} %>
<%= render :partial => "projects/project_issue_expand_show", :locals => {:comments => no_children_comments[:no_children_comments], :activity => activity, :user_activity_id => user_activity_id} %>