From f79132e9bee41c05a6852a3c736ab8deeacd3531 Mon Sep 17 00:00:00 2001 From: whimlex Date: Sat, 11 Apr 2015 14:01:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=B0=E9=97=BB=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=97=A0=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E7=9A=84=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/_project_news.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/news/_project_news.html.erb b/app/views/news/_project_news.html.erb index 7131896ca..d6bf0bf95 100644 --- a/app/views/news/_project_news.html.erb +++ b/app/views/news/_project_news.html.erb @@ -133,7 +133,7 @@ <%= l :label_update_time %> : <%= format_time(news.created_on) %> - <%= link_to l(:label_project_newother), news_path(news) %><%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count >= 0 %> + <%= link_to l(:label_project_newother), news_path(news) if news.comments_count >0 %><%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count >= 0 %>