修复用户动态首页描述不正确的问题

This commit is contained in:
sw 2014-08-27 11:31:18 +08:00
parent c6b189a846
commit 97f8aedd13
2 changed files with 10 additions and 10 deletions

View File

@ -72,7 +72,7 @@
<% end %> <% end %>
<tr> <tr>
<td colspan="2" width="580"> <td colspan="2" width="580">
<p class="font_description"> <%= textilizable act.notes %> </p> <p class="font_description"> <%= textAreailizable act.notes %> </p>
<div style="display: inline-block; float: right; margin-top: 0px"><span><%= link_to(l(:label_goto), user_newfeedback_user_path(e.user_id)) %> <div style="display: inline-block; float: right; margin-top: 0px"><span><%= link_to(l(:label_goto), user_newfeedback_user_path(e.user_id)) %>
</span></div> </span></div>
@ -113,7 +113,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"> <td colspan="2" width="580">
<p class="font_description"> <%= act.description.html_safe %> </p></td> <p class="font_description"> <%=textAreailizable act, :description %> </p></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@ -141,7 +141,7 @@
<% if act.notes.nil? %> <% if act.notes.nil? %>
<% desStr = '' %> <% desStr = '' %>
<% else %> <% else %>
<% desStr=act.notes.html_safe %> <% desStr= textAreailizable(act, :notes) %>
<% end %> <% end %>
<td colspan="2" width="580"><p class="font_description"> <%= desStr %> </p> <td colspan="2" width="580"><p class="font_description"> <%= desStr %> </p>
</td> </td>
@ -168,7 +168,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"> <td colspan="2" width="580">
<p class="font_description"> <%= act.long_comments.html_safe %> </p></td> <p class="font_description"> <%= textAreailizable act,:long_comments %> </p></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@ -194,7 +194,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"> <td colspan="2" width="580">
<p class="font_description"> <%= h act.content.truncate(240, omission: '...') %> </p> <p class="font_description"> <%= textAreailizable(act,:content) %> </p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -242,7 +242,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"> <td colspan="2" width="580">
<p class="font_description"> <%= act.description.html_safe %> </p></td> <p class="font_description"> <%= textAreailizable act,:description %> </p></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@ -287,7 +287,7 @@
</div> </div>
</div> </div>
--> -->
<%= textilizable act, :description %> <%= textAreailizable act, :description %>
<!-- <p class="font_description"> <%#= textilizable(act.description) %> </p> --> <!-- <p class="font_description"> <%#= textilizable(act.description) %> </p> -->
</td> </td>
</tr> </tr>
@ -314,7 +314,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"><p class="font_description"> <%= h act.description %> </p> <td colspan="2" width="580"><p class="font_description"> <%= textAreailizable act, :description %> </p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -384,7 +384,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580"><p class="font_description"> <%= textilizable e.notes %> </p></td> <td colspan="2" width="580"><p class="font_description"> <%= textAreailizable e.notes %> </p></td>
</tr> </tr>
<tr> <tr>
<td align="left"><a class="font_lighter"></a></td> <td align="left"><a class="font_lighter"></a></td>