From 1471d78e63bb2a8e2f4e29eb2069503760199301 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Wed, 7 May 2014 08:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E4=B8=AD=E6=AF=8F=E4=B8=AA=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=8F=B3=E8=BE=B9=E4=B8=89=E8=A1=8C=E7=9A=84=E8=A1=8C?= =?UTF-8?q?=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/softapplications/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: '...') %>