模式二 二级目录调整
This commit is contained in:
parent
c400b44230
commit
e9c3d5cceb
|
@ -1,15 +1,21 @@
|
|||
<div class="sn-inner-body">
|
||||
<div class="sn-innner-content">
|
||||
<div class="sn-row sn-bg-white">
|
||||
<div class="sn-content-position"> 您的位置:首页 > 数据资源 > 仿真数据 </div>
|
||||
<div class="sn-content-position">
|
||||
您的位置:<%= link_to "首页", organization_path(@organization), :class => "sn-link-grey2" %> >
|
||||
<%= @org_subfield.name %> >
|
||||
<%= link_to @subdomain.name, org_subfield_sub_domain_path(@subdomain, :org_subfield_id => @org_subfield.id), :class => "sn-link-grey2" %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sn-inner-newslist">
|
||||
<h2 class="sn-inner-newsh2">最新资讯</h2>
|
||||
<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><a href="javascript:void(0)" target="_blank" class="sn-newslist-reply fr mr10">回复(100)</a><a href="javascript:void(0)" target="_blank" class="sn-newslist-zan fr mr10">(100)</a>
|
||||
<span class=" txt-grey fr"><%= time_from_now(document.created_at) %></span>
|
||||
<a href="javascript:void(0)" target="_blank" class="sn-newslist-reply fr mr10">回复(<%= document.children.count %>)</a>
|
||||
<!--<a href="javascript:void(0)" target="_blank" class="sn-newslist-zan fr mr10">(100)</a>-->
|
||||
<div class="cl"></div>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue