<% if @org_acts.blank? %>

该模块暂时没有相关内容

<% else %>
您的位置:<%= link_to "首页", organization_path(@organization), :class => "sn-link-grey2" %> > <%= @org_subfield.name %>

<%= @org_subfield.name %>

    <% @org_acts.each do |obj| %> <% user = org_user_by_type(obj) %> <% title = org_title_by_type(obj) %> <% content = org_content_by_type(obj) %> <% time = org_time_by_type(obj) %> <% reply_count = org_reply_count_type(obj) %>
  • <% if obj.act_type == "Message" %> <%= link_to title, board_message_path(obj.act.board.id, obj.act.id), :class => "sn-newslist-titile fl", :target => "_blank" %> <% elsif obj.act_type == "News" %> <%= link_to title, news_path(obj.act.id), :class => "sn-newslist-titile fl", :target => "_blank" %> <% elsif obj.act_type == "HomeworkCommon" %> <%= link_to title, student_work_index_url_in_org(obj.act.id), :class => "sn-newslist-titile fl", :target => "_blank" %> <% elsif obj.act_type == "Issue" %> <%= link_to title, issue_path(obj.act.id), :class => "sn-newslist-titile fl", :target => "_blank" %> <% end %> <%= format_date(time) %> 回复(<%= reply_count %>)
  • <% end %>
<% end %>