|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<div class="homepagePostTo">
|
|
|
|
|
<%= link_to User.find(document.creator_id), user_path(document.creator.id), :class => "newsBlue mr15" %>
|
|
|
|
|
TO <%= link_to document.organization.name, organization_path(document.organization), :class => "newsBlue" %> |
|
|
|
|
|
<% if defined?(home_id) %>
|
|
|
|
|
<% if document.organization.home_id == document.id %>
|
|
|
|
|
<span style="color:#269ac9;">首页</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<span style="color:#269ac9;">组织</span>
|
|
|
|
|