调整了应用列表页面中的搜索显示格式;

调整了竞赛页面中的参赛应用列表的简介的长度(增加了显示长度限制);
调整了具体参赛应用页面中应用应用简介的长度(将原来的限制为150改为不限制,便于读者)
This commit is contained in:
wanglinchun 2014-04-29 08:32:45 +08:00
parent d073074737
commit c40bc242cd
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
<tr>
<td>简介:</td>
<td>
<%= c_softapplication.softapplication.description %>
<%= c_softapplication.softapplication.description.truncate(100, omission: '...') %>
</td>
</tr></br>
</div>

View File

@ -3,9 +3,9 @@
<tr>
<td class="info_font" style="width: 240px; color: #15bccf">创新竞赛社区</td>
<td style="width: 430px; color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
<td rowspan="2" width="250px">
<td rowspan="2" width="300px">
<div class="project-search" style="float: right">
<%= text_field_tag 'name', params[:name], :size => 30 %>
<%= text_field_tag 'name', params[:name], :size => 25 %>
<%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
</div>

View File

@ -57,7 +57,7 @@
<div style="height: auto; padding-bottom: 10px">
<strong><div style="font-size: 15px">应用简介:</div></strong>
<div><%= @softapplication.description.truncate(150, omission: '...') %></div>
<div><%= @softapplication.description %></div>
</div>
<div class="underline-contests_one"></div>