MESSAGE中描述

This commit is contained in:
huang 2016-10-28 15:32:05 +08:00
parent 8b2c139a21
commit fe9731c11c
1 changed files with 2 additions and 2 deletions

View File

@ -33,13 +33,13 @@
<% u = User.where("id=?",activity.author_id).first%>
<div class="cl"></div>
</div>
<div class="massages-content ml15">
<div class="ml15">
<% if activity.parent_id.nil? %>
<% content = activity.content %>
<% else %>
<% content = activity.parent.content %>
<% end %>
<p><%=render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id =>activity.id, :content=>content, :maxheight=>54, :maxwordsnum=>125, :maxwidth=>950} %></p>
<p><%=render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id =>activity.id, :content=>content, :maxheight=>54, :maxwordsnum=>225, :maxwidth=>950} %></p>
</div>
<div class="ml15 mt10 f12">
<span class="grayTxt">