From fe9731c11c23f4fbbc23318c64e229f7ff430c98 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 28 Oct 2016 15:32:05 +0800 Subject: [PATCH] =?UTF-8?q?MESSAGE=E4=B8=AD=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_project_boardlist.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_project_boardlist.html.erb b/app/views/users/_project_boardlist.html.erb index 4dec2d14e..84f98c0b2 100644 --- a/app/views/users/_project_boardlist.html.erb +++ b/app/views/users/_project_boardlist.html.erb @@ -33,13 +33,13 @@ <% u = User.where("id=?",activity.author_id).first%>
-
+
<% if activity.parent_id.nil? %> <% content = activity.content %> <% else %> <% content = activity.parent.content %> <% end %> -

<%=render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id =>activity.id, :content=>content, :maxheight=>54, :maxwordsnum=>125, :maxwidth=>950} %>

+

<%=render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id =>activity.id, :content=>content, :maxheight=>54, :maxwordsnum=>225, :maxwidth=>950} %>