From b16e19096f7d0e6725de18948f39a527e2fd0091 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 3 Jul 2015 10:25:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E9=97=BB=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/_course_news.html.erb | 1 + app/views/news/_project_news.html.erb | 3 ++- public/stylesheets/courses.css | 1 + public/stylesheets/project.css | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/news/_course_news.html.erb b/app/views/news/_course_news.html.erb index 28eb5c805..4d6328c48 100644 --- a/app/views/news/_course_news.html.erb +++ b/app/views/news/_course_news.html.erb @@ -34,6 +34,7 @@ <%= l(:label_release_news) %>: <%= link_to h(news.title), news_path(news),:class => 'problem_tit fl fb c_dblue' %> + <%=link_to "#{news.comments.all.count}".html_safe, news_path(news.id), :class => "pro_mes_w" %>