From 10515adc5c6f63effd329e1f1ea2da8f8b7e9551 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 27 Mar 2015 17:00:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E9=80=9A=E7=9F=A5=E5=92=8C?= =?UTF-8?q?=E8=AE=A8=E8=AE=BA=E5=8C=BA=E5=9B=9E=E5=A4=8D=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/messages/_course_show.html.erb | 58 +----------------------- app/views/news/_course_show.html.erb | 2 +- 2 files changed, 2 insertions(+), 58 deletions(-) diff --git a/app/views/messages/_course_show.html.erb b/app/views/messages/_course_show.html.erb index 613444c15..1c1628ded 100644 --- a/app/views/messages/_course_show.html.erb +++ b/app/views/messages/_course_show.html.erb @@ -1,59 +1,3 @@ - -

<%= l(:label_board) %>

@@ -108,7 +52,7 @@ <%= link_to_user_header message.author,false,:class => 'c_blue fb fl mb10 ' %> <%= format_time(message.created_on) %>
- <%= textilizable message,:content,:attachments => message.attachments %> +

<%= textilizable message,:content,:attachments => message.attachments %>

<%= link_to_attachments_course message, :author => false %>
diff --git a/app/views/news/_course_show.html.erb b/app/views/news/_course_show.html.erb index 9ea8159bd..ed6011e29 100644 --- a/app/views/news/_course_show.html.erb +++ b/app/views/news/_course_show.html.erb @@ -115,7 +115,7 @@
<%= link_to_user_header(comment.author,false,:class => 'c_blue fb fl mb10 ') if comment.respond_to?(:author) %><%= format_time(comment.created_on) %>
- <%= textilizable(comment.comments) %> +

<%= textilizable(comment.comments) %>

<%= link_to_if_authorized_course image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment}, :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %>