From 23a6408c9f1c6e0a52ef612e59f769da13ee3382 Mon Sep 17 00:00:00 2001 From: whimlex Date: Sat, 11 Apr 2015 11:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA=E6=95=B0=E4=B8=BA0=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E2=80=9C=E6=9F=A5=E7=9C=8B=E6=89=80?= =?UTF-8?q?=E6=9C=89=E8=AF=84=E8=AE=BA=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_list.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 58960df4c..4519b6047 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -55,9 +55,9 @@ <%= l(:label_updated_time_on, format_date(issue.updated_on)).html_safe %>
- <%= link_to l(:label_find_all_comments), issue_path(issue.id) %> + <%= link_to l(:label_find_all_comments), issue_path(issue.id) if issue.journals.all.count!= 0 %> - <%= l(:label_comments_count, :count => issue.journals.all.count) %> + <%= l(:label_comments_count, :count => issue.journals.all.count) %>
<% end -%>