diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-07 21:28:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-07 21:28:45 +0000 |
commit | 99956ec2489aa936cb89cb1109f90b24f68ed567 (patch) | |
tree | f8c6774d6839e07617163db5dc11298fadf1049c /app/views/messages/show.rhtml | |
parent | 518779d96d817a0eab6c563444208ec659e27cec (diff) | |
download | redmine-99956ec2489aa936cb89cb1109f90b24f68ed567.tar.gz redmine-99956ec2489aa936cb89cb1109f90b24f68ed567.zip |
Avatars added in news (#3941) and forums (#4468) + cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3284 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages/show.rhtml')
-rw-r--r-- | app/views/messages/show.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index 5ddc083e5..079b9887e 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -8,7 +8,7 @@ <%= link_to(l(:button_delete), {:action => 'destroy', :id => @topic}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del') if @message.destroyable_by?(User.current) %> </div> -<h2><%=h @topic.subject %></h2> +<h2><%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %></h2> <div class="message"> <p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p> @@ -29,6 +29,7 @@ <%= link_to(image_tag('delete.png'), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) if message.destroyable_by?(User.current) %> </div> <h4> + <%= avatar(message.author, :size => "24") %> <%= link_to h(message.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :anchor => "message-#{message.id}" } %> - <%= authoring message.created_on, message.author %> |