<div class="sn-inner-body">
  <div class="sn-innner-content">
    <div class="sn-row sn-bg-white">
      <div class="sn-content-position">
        您的位置：<%= link_to "首页", organization_path(@organization), :class => "sn-link-grey2" %> &gt;
        <%=link_to  @org_subfield.name, organization_path(@organization, :org_subfield_id => @org_subfield.id), :class => "sn-link-grey2" %> &gt;
        <%= link_to @subdomain.name, org_subfield_sub_domain_sub_document_comments_path(:sub_domain_id => @subdomain.id, :org_subfield_id => @org_subfield.id), :class => "sn-link-grey2" %>
      </div>
    </div>
    <div class="sn-inner-newslist">
      <h2 class="sn-inner-newsh2"><%= @subdomain.name %></h2>
      <ul>
        <% documents.each do |document| %>
            <li>
              <div class="sn-circle fl"></div><%=link_to document.title, org_subfield_sub_domain_sub_document_comment_path(document, :org_subfield_id => @org_subfield, :sub_domain_id => @subdomain), :class => "sn-newslist-titile fl", :target => "_blank" %>
              <span class=" txt-grey fr"><%= format_date(document.created_at) %></span>
              <span class="sn-newslist-reply fr mr10 txt-grey">回复（<%= document.children.count %>）</span>
              <!--<a href="javascript:void(0)" target="_blank" class="sn-newslist-zan fr mr10">（100）</a>-->
              <div class="cl"></div>
            </li>
        <% end %>
      </ul>

      <div>
        <ul class="sn-inner-pages" id="pages" style="margin-top: 5px;">
          <%= pagination_links_full @atta_pages, @atta_count, :per_page_links => true, :remote => @is_remote, :flag => true %>
          <div class="cl"></div>
        </ul>
      </div>
    </div>
  </div>
</div>