#post.center = link_to new_comment_path(type: 'Group'), class: 'btn btn-default askq', data: {toggle: 'modal', target: '#remote-modal'} do | Click here to add new post - if @comments.present? #feed-comments-list.icp .infinitescroll .infinitescroll-page - @comments.each do |comment| .col-xs-12.infinitescroll-element.ptb20.dark-bottom .group-feed .col-sm-1.center data-id="comment-count-#{comment.id}" .feed-owner.pull-right = image_tag comment.user.image_url(:thumb), alt: comment.user.name .col-sm-11 .feed-subject = comment.subject .feed-body = truncate(simple_format(comment.body), length: 200) do = comment.body .feed-time .livetimestamp data-time-iso8601=comment.created_at.to_s(:iso8601) data-time-format='dddd, MMMM Do YYYY, h:mm:ss a' .comments-count = t('.comments_count', count: comment.comments_count) .comment-box id="comments-#{comment.id}" - comment.children.each do |comment_thread| .bg-grey.block .col-sm-1.pt5 = image_tag comment_thread.user.image_url(:thumb), alt: comment_thread.user.name, title: comment_thread.user.name .col-sm-11.fs10.pt10.pl0.semibold.lh12 = comment_thread.body .comment-time.pl75.ptb10 .livetimestamp data-time-iso8601=comment_thread.created_at.to_s(:iso8601) data-time-format='dddd, MMMM Do YYYY, h:mm:ss a' .clearfix .clearfix .bg-grey.p10 .col-sm-1.pt5.pl5 = image_tag current_user.image_url(:thumb), alt: current_user.name .col-sm-11.plr0.new-comment-form.relative = render 'comments/form', comment: comment.children.build .clearfix = paginate @comments - else .fs18.semibold | No Feeds.