diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-25 23:43:27 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-25 23:43:27 +0000 |
commit | 856b777362540b0ff20f4aa61ffd7f937619da56 (patch) | |
tree | 65b046c5ac503f29f83e538cf566a084e82eb26d /app | |
parent | 8dc7f1d1eef669e6a76ea682617fc2c6c6c7f445 (diff) | |
download | redmine-856b777362540b0ff20f4aa61ffd7f937619da56.tar.gz redmine-856b777362540b0ff20f4aa61ffd7f937619da56.zip |
show avatars on the news list (#9470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/news/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <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> |