diff --git a/app/views/softapplications/index.html.erb b/app/views/softapplications/index.html.erb index 24a9a5914..a670c9fa5 100644 --- a/app/views/softapplications/index.html.erb +++ b/app/views/softapplications/index.html.erb @@ -14,7 +14,7 @@
<%= image_tag('/images/app1.png')%>
<%= softapplication.description.truncate(95, omission: '...') %>
-
+
<%contest = softapplication.contests.first%>

所属竞赛:<%= contest ? link_to(contest.name.truncate(14, omission: '...'), show_softapplication_contest_path(contest), title: contest.name.to_s ) : '尚未加入竞赛'%>

所属类别:<%= softapplication.app_type_name.truncate(5, omission: '...') %>