修改参赛应用页面中所属类别的显示长度

This commit is contained in:
wanglinchun 2014-05-09 18:36:31 +08:00
parent 72e9515f4d
commit bc07f4c9e5
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<div style="float: left; width: 200px; margin-left: 70px; margin-top: -3px; line-height: 0.5em ">
<%contest = softapplication.contests.first%>
<p>所属竞赛:<%= contest ? link_to(contest.name.truncate(14, omission: '...'), show_softapplication_contest_path(contest), title: contest.name.to_s ) : '尚未加入竞赛'%></p>
<p>所属类别:<%= softapplication.app_type_name.truncate(5, omission: '...') %></p>
<p>所属类别:<%= softapplication.app_type_name.truncate(10, omission: '...') %></p>
<p>系统支持:<%= softapplication.android_min_version_available %></p>
</div>
<div style="padding-left: 53px">