From 3e58264a28e895558e8946d1801bc6a29e073d31 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 22 Sep 2015 16:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E9=A6=96=E9=A1=B5=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E7=9A=84=E5=88=97=E8=A1=A8li=E7=9A=84=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=AC=A6=E5=8F=B7=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_course_homework.html.erb | 2 +- app/views/users/_course_message.html.erb | 4 ++-- app/views/users/_course_news.html.erb | 4 ++-- app/views/users/_project_issue.html.erb | 2 +- app/views/users/_project_message.html.erb | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/users/_course_homework.html.erb b/app/views/users/_course_homework.html.erb index 366473b52..afd2f142b 100644 --- a/app/views/users/_course_homework.html.erb +++ b/app/views/users/_course_homework.html.erb @@ -42,7 +42,7 @@
截止时间:<%= activity.end_time.to_s %>
-
+
<%= activity.description.html_safe %>
-
+
<% if activity.parent_id.nil? %> <%= activity.content.to_s.html_safe%> <% else %> @@ -87,7 +87,7 @@ <% end %> <%= format_time(reply.created_on) %>
-
+
<%= reply.content.html_safe %>
diff --git a/app/views/users/_course_news.html.erb b/app/views/users/_course_news.html.erb index 456a3a7bd..97f0acb69 100644 --- a/app/views/users/_course_news.html.erb +++ b/app/views/users/_course_news.html.erb @@ -18,7 +18,7 @@
发布时间:<%= format_time(activity.created_on) %>
-
+
<%= activity.description.html_safe %>
@@ -60,7 +60,7 @@ <% end %> <%= format_time(comment.created_on) %>
-
<%= comment.comments.html_safe %>
+
<%= comment.comments.html_safe %>
diff --git a/app/views/users/_project_issue.html.erb b/app/views/users/_project_issue.html.erb index 8ea8804d5..e8bac335c 100644 --- a/app/views/users/_project_issue.html.erb +++ b/app/views/users/_project_issue.html.erb @@ -33,7 +33,7 @@ <%=format_time(activity.created_on) %> -
+
<% if activity.description? %> <%= textAreailizable activity, :description, :attachments => activity.attachments %> <% end %> diff --git a/app/views/users/_project_message.html.erb b/app/views/users/_project_message.html.erb index 7d810c065..32468f9a0 100644 --- a/app/views/users/_project_message.html.erb +++ b/app/views/users/_project_message.html.erb @@ -26,7 +26,7 @@
时间:<%= format_time(activity.created_on) %>
-
+
<% if activity.parent_id.nil? %> <%= activity.content.to_s.html_safe%> <% else %> @@ -74,7 +74,7 @@ <% end %> <%= format_time(reply.created_on) %>
-
<%= reply.content.html_safe %>
+
<%= reply.content.html_safe %>