]> source.dussan.org Git - redmine.git/commitdiff
show avatars on the news list (#9470)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Oct 2011 23:43:27 +0000 (23:43 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Oct 2011 23:43:27 +0000 (23:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/news/index.html.erb

index fc98a534995d3c21ad4d068cc6d1a32179cd0cec..d4c03268942daffb37a304f6ee66bb86eba7490a 100644 (file)
@@ -28,7 +28,7 @@
 <p class="nodata"><%= l(:label_no_data) %></p>
 <% else %>
 <% @newss.each do |news| %>
-    <h3><%= link_to_project(news.project) + ': ' unless news.project == @project %>
+    <h3><%= 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 %></h3>
     <p class="author"><%= authoring news.created_on, news.author %></p>