From f0ba408a10a5ec245aee6f43d462d609b1347030 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 10 Apr 2015 16:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E9=80=9A=E7=9F=A5=E3=80=81?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E5=8A=A8=E6=80=81=20=E5=A4=A7=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E8=B6=85=E5=87=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/_course_news.html.erb | 2 +- app/views/users/show.html.erb | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/news/_course_news.html.erb b/app/views/news/_course_news.html.erb index ca7e064c7..a7b9693b2 100644 --- a/app/views/news/_course_news.html.erb +++ b/app/views/news/_course_news.html.erb @@ -26,7 +26,7 @@

<% else %> <% @newss.each do |news| %> -
+
<%= link_to image_tag(url_to_avatar(news.author),:width => 42,:height => 42), user_path(news.author), :class => "problem_pic fl" %>
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %> diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index b16c017a7..9b0d3651e 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -97,7 +97,7 @@ - +

<%= textAreailizable act.notes %>

@@ -167,7 +167,7 @@ <% end %> - +

<%=textAreailizable act, :description %>

@@ -227,7 +227,7 @@ <% else %> <% desStr= textAreailizable(act, :notes) %> <% end %> - +

<%= desStr %>

@@ -282,7 +282,7 @@ <% end %> - +

<%= textAreailizable act,:long_comments %>

@@ -344,7 +344,7 @@ <% end %> - +

<%= textAreailizable(act,:content) %>

@@ -385,7 +385,7 @@ <% end %> - +

@@ -428,7 +428,7 @@ <% end %> - +

<%= textAreailizable act,:description %>

@@ -559,7 +559,7 @@ <% end %> - +

<%= textAreailizable act, :description %>

@@ -633,7 +633,7 @@ - +

<%= textAreailizable e.notes %>