首页回复 会变成组织

ke_guange
lizanle 10 years ago
parent 1edaed8bf1
commit e1a88dedbb

@ -7,7 +7,7 @@
<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" %> |
<% if defined?(home_id) %>
<% if document.organization.home_id == document.id %>
<span style="color:#269ac9;">首页</span>
<% else %>
<span style="color:#269ac9;">组织</span>

Loading…
Cancel
Save