From b9d186e6761b03932c7da99f069a6e5dd087e4b0 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 25 Oct 2011 15:48:06 -0700 Subject: [PATCH] [#277] Show avatars on the News list --- app/views/news/index.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index 1c2fd51b..1984a96f 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -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 %>