动态和文章样式问题解决

This commit is contained in:
ouyangxuhua 2015-11-14 10:25:51 +08:00
parent c51491367f
commit 9bf8f6058f
1 changed files with 71 additions and 70 deletions

View File

@ -6,7 +6,8 @@
<div class="homepagePostDes">
<div class="homepagePostTo">
<%= link_to User.find(document.creator_id), user_path(document.creator.id), :class => "newsBlue mr15" %>
TO&nbsp;&nbsp;<%= link_to document.organization.name, organization_path(document.organization), :class => "newsBlue" %> |
TO&nbsp;&nbsp;<%= link_to document.organization.name, organization_path(document.organization), :class => "newsBlue" %>
|
<% if document.organization.home_id == document.id %>
<span style="color:#269ac9;">首页</span>
<% else %>
@ -46,10 +47,10 @@
</li>
</ul>
</div>
</div>
<div class="cl"></div>
</div>
<% end %>
</div>
</div>
<% comments_for_doc = document.children.reorder("created_at desc") %>
<% count = document.children.count() %>