From 856b777362540b0ff20f4aa61ffd7f937619da56 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 25 Oct 2011 23:43:27 +0000 Subject: [PATCH] show avatars on the news list (#9470) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/news/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index fc98a5349..d4c032689 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -28,7 +28,7 @@

<%= l(:label_no_data) %>

<% else %> <% @newss.each do |news| %> -

<%= link_to_project(news.project) + ': ' unless news.project == @project %> +

<%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> <%= link_to h(news.title), news_path(news) %> <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>

<%= authoring news.created_on, news.author %>

-- 2.39.5