diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb index ce3dd2091..5dde6c460 100644 --- a/app/views/boards/_course_show.html.erb +++ b/app/views/boards/_course_show.html.erb @@ -58,18 +58,23 @@
-- <%= topic.content %> -
- <% if topic.content.size > 300 %> -- + +
讨论区共有<%= @topic_count %>个帖子
<% if @topics.any? %> <% @topics.each do |topic| %> +- <%= topic.content %> -
- <% if topic.content.size > 300 %> -- +
- <% end %> + <%= link_to_attachments_course topic, :author => false %> <%= l(:label_activity_time)%>: <%= format_time topic.created_on %> @@ -177,6 +183,7 @@ <% end %> <% end %><%= l(:label_no_data) %>
diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb index 9faf07b9a..2e736bdf7 100644 --- a/app/views/boards/show.html.erb +++ b/app/views/boards/show.html.erb @@ -24,7 +24,14 @@