讨论区共有<%= @topic_count %>个帖子
<% if @topics.any? %> <% @topics.each do |topic| %><%= h(topic.subject) %>
<% if topic.course_editable_by?(User.current) %> <%= l(:button_edit) %> <% end %> <% if topic.sticky? %> <%= l(:label_board_sticky)%> <% end %> <%= link_to( l(:button_delete), {:controller =>'messages',:action => 'destroy', :id => topic.id, :board_id => topic.board_id, :is_board=>'true'}, :method => :post, :data => {:confirm => l(:text_are_you_sure)}, :class => 'talk_edit fr', :style => ' margin-right: 10px;' ) if topic.destroyable_by?(User.current) %><%= topic.content %>
<% if topic.content.size > 300 %><% end %> <%= link_to_attachments_course topic, :author => false %> <%= l(:label_activity_time)%>: <%= format_time topic.created_on %>
<%= textAreailizable message,:content,:attachments => message.attachments %>
<%= l(:label_no_data) %>
<% end %>