调整应用页面中简介显示上下边距以及简介限定字数显示格式

exceptionHandle
wanglinchun 11 years ago
parent 7758e9bbf1
commit cc5b55ec9c

@ -10,7 +10,7 @@
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
<!-- <%= image_tag(url_to_avatar(@user), :class => "avatar2") %> --> <!-- <%= image_tag(url_to_avatar(@user), :class => "avatar2") %> -->
<div style="height: 130px"> <div style="height: auto; padding-bottom: 10px">
<tr> <tr>
<td colspan="2" valign="top" width="320" > <td colspan="2" valign="top" width="320" >
</td> </td>
@ -48,9 +48,9 @@
</div> </div>
<div class="underline-contests_one"></div> <div class="underline-contests_one"></div>
<div style="height: 60px"> <div style="height: auto; padding-bottom: 10px">
<strong><div style="font-size: 15px">应用简介:</div></strong> <strong><div style="font-size: 15px">应用简介:</div></strong>
<div><%= @softapplication.description %></div> <div><%= @softapplication.description.truncate(150, omission: '...') %></div>
</div> </div>
<div class="underline-contests_one"></div> <div class="underline-contests_one"></div>

Loading…
Cancel
Save