取消课程动态中描述显示为最多30个字母或汉字的限制
This commit is contained in:
parent
9545b1da0c
commit
f549530744
|
@ -35,7 +35,7 @@
|
|||
<tr>
|
||||
<td colspan="2" width="580px">
|
||||
<p class="info-break">
|
||||
<%= h(truncate(strip_tags(e.event_description).gsub(/ /, ' '), length: 30, omission: '...')) %>
|
||||
<%= e.event_description %>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue