修改应用列表显示问题
This commit is contained in:
parent
776a9d1e35
commit
374b183c0f
|
@ -17,7 +17,7 @@
|
||||||
<div style="float: left; width: 200px; margin-left: 70px; margin-top: -3px; ">
|
<div style="float: left; width: 200px; margin-left: 70px; margin-top: -3px; ">
|
||||||
<%contest = softapplication.contests.first%>
|
<%contest = softapplication.contests.first%>
|
||||||
<p>所属竞赛:<%= contest ? link_to(contest.name.truncate(10, omission: '...'), show_softapplication_contest_path(contest), title: contest.name.to_s ) : '尚未加入竞赛'%></p>
|
<p>所属竞赛:<%= contest ? link_to(contest.name.truncate(10, omission: '...'), show_softapplication_contest_path(contest), title: contest.name.to_s ) : '尚未加入竞赛'%></p>
|
||||||
<p>所属类别:<%= softapplication.app_type_name %></p>
|
<p>所属类别:<%= softapplication.app_type_name.truncate(5, omission: '...') %></p>
|
||||||
<p>系统支持:<%= softapplication.android_min_version_available %></p>
|
<p>系统支持:<%= softapplication.android_min_version_available %></p>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-left: 53px">
|
<div style="padding-left: 53px">
|
||||||
|
|
Loading…
Reference in New Issue